Skip to content

Unified header #82

Description

@juliusknorr
  • Combine viewer header and the text formatting menubar (similar to how it is done in Nextcloud Office now)
  • Combine the Share icon and the avatars into one overlapped thing. When we have avatars, we don’t need a share icon at all, and they don’t need individual clickable area – all can open the sidebar. (Mockup in the works)
  • For Shared links, even put the controls in the blue header bar – see Dropbox Paper. (Mockup in the works)

Here are the mockups:

Unified bar Viewer + Text when logged in

We should also combine the Share icon and the avatars into one overlapped thing. When we have avatars, we don’t need a share icon at all, and they don’t need individual clickable area – all can open the sidebar.
Text app desktop logged in header

For Shared links, even put the controls in the blue header bar

Desktop
Text app share link header bar desktop
Mobile
Text app header mobile new

Smaller polishing before the rename (already done):

  • Flash of half-transparent black at the beginning of viewer open should be white instead. Use viewer theme #1907
  • Title and icons on top right shouldn’t fade out

Activity

  1. added this to the 2.0 📋 milestone on Jun 21, 2019
  2. jancborchardt commented on Jun 26, 2019

    @jancborchardt
  3. jancborchardt commented on Jun 26, 2019

    @jancborchardt
    Member

    cc @skjnldsv as well regarding the Viewer app ^

  4. modified the milestones: 2.0 📋 (Nextcloud 18), on Dec 6, 2019
  5. removed this from the milestone on Jan 16, 2020
  6. 11 remaining items

  7. luka-nextcloud commented on Jun 8, 2022

    @luka-nextcloud
    Contributor

    @juliushaertl I have some technical questions:

    • How can I get shared by and download link from the text app since they exist in server app? How can we pass those values to text app?
    • How can we trigger the event to open the sidebar from the text app?
  8. juliusknorr commented on Jun 8, 2022

    @juliusknorr
    MemberAuthor

    I'm wondering if we should actually rebuild the already existing UI or the option I would prefer is to find a way to inject the menubar and the avatars into the existing header.

    Not yet sure if that is technically feasible but maybe we could somehow trick the component to render into divs outside of the main text container.

    @vinicius73 Maybe you have a creative idea or can tell if that is a stupid idea :D

    One potential library for that I've found would be https://portal-vue.linusb.org

  9. luka-nextcloud commented on Jun 10, 2022

    @luka-nextcloud
    Contributor

    @juliushaertl I did some research based on your suggestion:
    First, we need to put a portal target on our header.
    And then we need to wrap the menubar into the <Portal> component. That means we need to modify the nexcloud-vue library.
    We need to modify both the text app and the nexcloud-vue.
    Since the nextcloud-vue is a library, I don't think we can modify it and it seems not feasible...

  10. juliusknorr commented on Jun 10, 2022

    @juliusknorr
    MemberAuthor

    As just discussed in the call, I think we may dynamically insert an element to the div.header-left and then render the portal target into it similar to LinusBorg/portal-vue#114 (comment)

  11. moved this from 📄 To do (5-20 entries) to 🏗️ In progress in 📝 Productivity teamon Jul 20, 2022
  12. moved this from 🏗️ In progress to 🛑 On hold in 📝 Productivity teamon Apr 14, 2023
  13. moved this from 🛑 On hold to 🧭 Planning evaluation (don't pick) in 📝 Productivity teamon Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions