luyadev / luya-module-cms

The LUYA CMS module provides a full functional CMS for adding contents based on blocks.
https://luya.io
MIT License
33 stars 46 forks source link

Remember last edited page for admin session #205

Open rolandschaub opened 5 years ago

rolandschaub commented 5 years ago

It would be helpful if LUYA could remember the last edited CMS page and display it again when clicking on the Pages menu entry, returning from another admin section (e.g. when having to switch from page editing to the file manager and back to page editing).

hbugdoll commented 3 years ago

Idea:

nadar commented 3 years ago

I think session is not what we should do in terms of rest api, but we have user settings to store that state. The state must be stored when navigate to that page (there is an async call already) and then we should retrieve that state from user settings again when retrieve the menu items (maybe there is already an async call where we could add that "last_edited_page_id").