Feature #18071
closed
Move 'Open Documents' to Header in the BE
Added by Stefan Geith almost 17 years ago.
Updated over 14 years ago.
Description
1. When you edit records in the BE it would be nice to see how many records are opened for editing - as a reminder to close them or to proceed with editing.
2a. Open Documents apears as an item in the 'User Tools'-Folder.
2b. As long as you edit a record, then (and only then) there is a select-box at the top, where you can see (and switch to) other open records.
It would be greate to remove OpenDocuments there and move it (extended by a counter for the open records) to the new header of the new backend: just beneath the 'Shortcut'-Menu as a foldout-menu.
I added an image to explain how it could look like and how I would prefer it.
Regrettably I'm not able to do a patch for this and I don't know how much work this would be...
Any comments ?
(issue imported from #M7307)
Files
Note: the number shown in the example should be 1 (not 8, as only one Doc is open ...)
Stefan, you want to do this task?
I'm quite short on time for the next two weeks so I won't be able to work on this. But I'd be happy to guide you in the right direction.
What do you think?
More things we need here:
- the JS class needs to stop the event so the URL doesn't get the "#" (trivial)
- We should somehow make sure that the search is always at the right end of the toolbar.
This new patch does the following:
- It modifies the t3lib_befunc:: so that we finally have a modular "updateSignal" function where extensions can hook in as well.
- It re-adds the storing of an opened document and adds an updateSignal when opening a new document
- It adds the number of open documents on the top bar
- It fixes the URL "#" thing mentioned before
What has to be done still:
- Search icon still has to be at the end of the toolbar
- Styling of the topbar
- The menu entries should be rendered through recordItems with icon etc.
- There should be an option to close the records through the menu
- If menu is opened, it should be refreshed as well
Stefan, I added a lot of new features to the trunk. Please try them out.
There are some tasks still open:
- Styling of the Toolbar
- Sorting of Open Docs (new one should go to the top)
- t3lib_iconWorks:skinImg for the icons that are produced for the menu entries
- close button should have a "hand" icon
- When selecting an entry, it should close the menu and keep the pagetree if already opened.
- Testing and bugfixing
- Search button should still be at the end of the toolbar
a little nag:
* when closing a record directly in the open documents menu, the number of records shown, is not decreased
Alright. A new patch:
- Styling of the Toolbar (there is a bug in the graphics of the selected file, but it's not a opendocs problem)
- Positioning of the menu now works like I wanted it
- Closing a doc in the menu updates the number correctly
- iconWorks is now loading the right icon
- Minor fixes
I only have tested it in FF2 so far, that's why I haven't sent it to the core list yet.
Still open:
- Search button should still be at the end of the toolbar
- If label is too long, it should be shortened to a max length
- close button should have a "hand" icon
- This BG icon when the toolbar is activated should be fixed
- Sorting of Open Docs (new one should go to the top)
- ext should be installed by default
Should all be trivial and be fixed soon.
Also available in: Atom
PDF