Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Create user overview page #752

Merged
merged 1 commit into from
Nov 11, 2019
Merged

Create user overview page #752

merged 1 commit into from
Nov 11, 2019

Conversation

localjo
Copy link
Collaborator

@localjo localjo commented Nov 1, 2019

This resolves #732

Basic markup and styles for this page are done. Left to do:

  • Add icons to manage and view buttons
  • Update map styles and replace with mapbox-gl if possible (see Update all maps to MapboxGL #749 )
  • Add days left badge to cards
  • Calculate feature attributes completeness for progress bar
  • Implement view button when manage not possible
  • Handle search and show map UI on mobile layouts
  • Implement pagination of search results?
  • Change campaign query to only show current user's campaigns
  • Add graphic for empty state
  • Change base branch to develop
  • Update dropdown options
  • Update show map toggle color when off
  • Make layout without map use two columns

@localjo localjo changed the base branch from develop to webkit-tachyons-template November 1, 2019 21:57
@localjo localjo changed the base branch from webkit-tachyons-template to develop November 6, 2019 18:41
@localjo localjo changed the base branch from develop to webkit-tachyons-template November 6, 2019 18:41
@localjo localjo changed the base branch from webkit-tachyons-template to develop November 6, 2019 20:40
@localjo localjo requested a review from russbiggs November 7, 2019 17:36
Copy link
Contributor

@russbiggs russbiggs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking quite good. Lets drop the footer though. I think that will only be on the landing page
Edit: Before i commit to this @hexiaok can you tell us whether the page footer goes on every page?

@localjo
Copy link
Collaborator Author

localjo commented Nov 8, 2019

Right now the footer is a part of the base template, and would be included on every page. I can move it to the landing page and remove it from the template, but it seems like the kind of thing that should be on every page for consistency and UX.

@localjo
Copy link
Collaborator Author

localjo commented Nov 11, 2019

@russbiggs I added the smaller footer here to all pages except the homepage. This PR is still waiting for the changes to campaign.json.

@localjo localjo marked this pull request as ready for review November 11, 2019 16:36
This commit was squashed to resolve merge conflicts. It contains the following changes:

Add page header

Call updated when show details is done

Campaign page layout WIP

Add map toggle

Finish basic styles for user page

Move campaign map css

The #campaign-map element exists on multiple pages
so styles were interfering

Only call updated if defined

Add campaign view button

Remove console.log

Use small button variation

Add campaign manage and view buttons

Add warning label for less than 10 days

10 days is arbitary and we can set it to any number we want

Make campaign list styles mobile friendly

Add empty state for now projects

Fix initial map render

Set toggle off color to blue light

Scope CSS rules better to avoid conflicts

Fix finished badge for campaigns

It was displaying negative numbers for finished campaigns

Make list without map two columns

Update select box functionality

Make the select box work properly for all campaign types and eliminate some dead code

Move my projects route to /user/id

Also add a logged out state to /user/id and handle redirecting on login/out and updating the nav link

Redirect user page on logout

Add small footer

Active on all pages except the home page for now
@localjo localjo dismissed russbiggs’s stale review November 11, 2019 17:42

Made requested changes. Agreed via Slack to merge. Will update campaigns.json related items in another PR.

@localjo localjo merged commit 659782f into develop Nov 11, 2019
@localjo localjo deleted the user-overview branch November 11, 2019 17:43
localjo added a commit that referenced this pull request Nov 12, 2019
I talked with Russ about this last night, and I'm going to go ahead and merge it to develop now because it's just some small bug fixes from #752
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

create user overview page
2 participants