Git Product home page Git Product logo

Comments (9)

rasagy avatar rasagy commented on August 11, 2024

Things to discuss:

  • How should the layout work responsively?
  • How should the changeset map layout change to accomodate the responsive layout? This conversation can help push osmlab/changeset-map#133 forward.
  • How should changeset map open full-screen (Like full-screen video? In a new tab? Draggable layout?)

Thoughts @planemad @maning @manoharuss & others?

from osmcha-frontend.

bsrinivasa avatar bsrinivasa commented on August 11, 2024

@rasagy , The changeset detail page looks good. Also curious to check out ideas on how changeset map and discussion module could be fit in the current layout design.

How should changeset map open full-screen (Like full-screen video? In a new tab? Draggable layout?)

Would suggest for changeset map to just expand in shape to about 75% (or a bit more than that) of the screen (as in a photo viewer experience) and when clicked outside the map, the page should return back to the original state which displays changeset details and the normal changeset map. I wouldn't recommend opening in a new tab as it would be again tedious to open - close and switching tabs.

from osmcha-frontend.

rasagy avatar rasagy commented on August 11, 2024

Since a common usecase with OSMCHA is to have a split-screen layout (OSMCHA + JOSM/iD), we need to make sure the layout is responsive here’s how the layout could look like on a 800x600 screen:

c - v2 tablet

We could push the 2, 3, 4 sections in a single layout (scrollable) and keep the changeset map pinned to the bottom. But with the list showing, the horizontal space will be pretty limited for the map.


c - v2 tablet sidebar

To use the horizontal space better, this collapsed view where the sidebar can be shown on top of the details page when you click on the hamburger icon.

This still requires a lot more iterations to nail down, will work on this once we have clarity on how the details screen looks.

from osmcha-frontend.

willemarcel avatar willemarcel commented on August 11, 2024

Good ideas, @rasagy !

I think it's not necessary too much space for "Flagged features" in the first image, so I would adjust its section height to the same of the changeset details

from osmcha-frontend.

rasagy avatar rasagy commented on August 11, 2024

@willemarcel Good point! @kepta also worked on a quick prototype to test this on multiple screens, and I think the overall feedback is to not do a 50%-50% split but roughly 30%-70% split so changeset map uses more space. Will iterate on this and see what works best!

from osmcha-frontend.

rasagy avatar rasagy commented on August 11, 2024

Would suggest for changeset map to just expand in shape to about 75%…

@bsrinivasa Interesting feedback! Like @willemarcel mentioned, I think we can give changeset map more space by default. Let’s see if that removes the need to have a full-screen view for most cases.

from osmcha-frontend.

rasagy avatar rasagy commented on August 11, 2024

@kepta helped make a quick prototype to get feedback on the layout. The main feedback was that 50-50 split doesn’t work well, especially on slightly smaller screen sizes, and the changeset map should be toggle-able/expandable in some way.

Based on those inputs, @kepta, @ajithranka & I went ahead with rethinking the layout by focusing on the changeset map and adding details around it.

First iteration: Collapsable panels

c - changeset-map ui - v4

This combines the left panel in changeset map with other details in OSMCHA to create a set of toggle-able panels. These could open/close like accordions (at most one section open at one time).

Second iteration: Panels as map controls

c - changeset-map ui with icons - v4

Taking the above idea forward, this collapses the panels into a smaller control/icon/button, thus taking minimal space in the interface when someone wants to dive deep into the changeset map.

This approach avoids the jarring movement of clickable areas in an accordion that we saw in Concept D, and also makes each section flexible in size (for ex the Flagged features could be wider to accommodate the table, while the Toggle layers could be smaller).

c - changeset-map ui with icons panels

Let’s take this approach forward and start working on a high-fidelity design.

PS: This would require us to also update the design of the changeset map, tracking that on this ticket.

from osmcha-frontend.

willemarcel avatar willemarcel commented on August 11, 2024

Excelent!! Both are very good, but I prefer the Panels as map controls.

from osmcha-frontend.

kepta avatar kepta commented on August 11, 2024

Closing this ticket as it has gone out of date.

from osmcha-frontend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.