mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #57210
[Bug 1857382] Re: Remove WYSIWYG options for page description
After removing the description field from the page settings, we need to
deal with how to display the description on the pages that already have
them. These are the cases I could think of and the possible solution:
* new pages: won't have a description in the setting, no problem there
* pages with new layout: If it has a description in the page settings
- To display:
add a new Text block with the description at the top of the page, once the rest of the blocks are loaded
- To edit:
add a block at the top of the page with the description and save on the DB. Remove the description from the page settings data on the DB.
* old layout pages with description:
- if the page is just being displayed:
display the description found in the settings data of the page as a block at the top of the page, as first child of the .colum-content div (mock block). Don't remove the description from the settings data on the DB yet.
- when a page gets translated to new gridstack layout:
make a new text block at the top, full width, with the description as text. Save this description block on the DB as a block and remove the description from the setting data of the page.
* imports/export : not affected
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1857382
Title:
Remove WYSIWYG options for page description
Status in Mahara:
Triaged
Bug description:
In the past when the layout was not very flexible and we didn't have
rows (i.e. a veeeeery long time ago), the page description text field
was an important part of a page as it allowed people to create a
section across an entire page of Mahara and use it as style element.
People created banners in there and needed to have styling options
available. That's why it has a visual editor with all the editing
options.
Now (well, for quite some time already actually) that we have a more
flexible layout, we do not need this area anymore to style a page
with. It also added to the confusion for some people as they thought
that was the area where they would add their content.
While the page description is shown on a page, the collection
description is ignored (this may be a regression, but is OK).
Since we have the "tiles" on "Pages and collections", the description
shows up in the tile and is often cut off when it is too long and
banners are not displayed in there either.
I propose the following:
1. Remove the visual editor from the page description.
2. Limit the number of characters for the page and collection description to 140 characters. That seems to fit in there (with our current font size).
3. For existing sites, move the current page description content of pages to the first block on the page that goes across the entire width of the page and doesn't have a block heading. That way, the content is still displayed for pages that are used to displaying it, especially if the page uses the description as content styling element.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1857382/+subscriptions
References