Skip to content

Admin panel refactor#1101

Merged
beagleknight merged 37 commits intomasterfrom
revamp_admin
Mar 30, 2017
Merged

Admin panel refactor#1101
beagleknight merged 37 commits intomasterfrom
revamp_admin

Conversation

@josepjaume
Copy link
Copy Markdown
Contributor

@josepjaume josepjaume commented Mar 10, 2017

🎩 What? Why?

Add new admin styles. This is a work in progress and implies work in each and every feature. This PR is the entry point for multiple other PRs that we'll work on in parallel.

📝 Documentation

📌 Related Issues

📋 Subtasks

📷 Screenshots (optional)

image

👻 GIF

@josepjaume josepjaume changed the title Add admin styles Admin panel refactor Mar 13, 2017
@beagleknight beagleknight self-assigned this Mar 13, 2017
@beagleknight beagleknight mentioned this pull request Mar 14, 2017
3 tasks
@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #1101 into master will decrease coverage by 0.37%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1101      +/-   ##
==========================================
- Coverage   97.17%   96.79%   -0.38%     
==========================================
  Files         413      411       -2     
  Lines        6903     6869      -34     
==========================================
- Hits         6708     6649      -59     
- Misses        195      220      +25
Impacted Files Coverage Δ
decidim-core/lib/decidim/core.rb 100% <100%> (ø)
decidim-comments/lib/decidim/comments/engine.rb 100% <100%> (ø)
decidim-core/lib/decidim/core/engine.rb 98.48% <100%> (+0.02%)
decidim-system/lib/decidim/system/engine.rb 100% <100%> (ø)
decidim-admin/lib/decidim/admin/engine.rb 100% <100%> (ø)
...in/app/helpers/decidim/admin/application_helper.rb 100% <100%> (ø)
.../app/controllers/decidim/application_controller.rb 96.15% <100%> (ø)
...ecidim/admin/participatory_processes_controller.rb 43.13% <0%> (-49.02%)
.../decidim/admin/process_groups_for_select_helper.rb 66.66% <0%> (-33.34%)
.../forms/decidim/admin/participatory_process_form.rb 94.59% <0%> (-5.41%)
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fd4d530...bd4ac51. Read the comment docs.

@codecov-io
Copy link
Copy Markdown

codecov-io commented Mar 14, 2017

Codecov Report

Merging #1101 into master will decrease coverage by 0.14%.
The diff coverage is 93.42%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1101      +/-   ##
==========================================
- Coverage   97.16%   97.01%   -0.15%     
==========================================
  Files         422      424       +2     
  Lines        7053     7109      +56     
==========================================
+ Hits         6853     6897      +44     
- Misses        200      212      +12
Impacted Files Coverage Δ
...dmin/app/helpers/decidim/admin/icon_link_helper.rb 100% <100%> (ø)
...ontrollers/decidim/admin/user_groups_controller.rb 100% <100%> (ø) ⬆️
...app/controllers/decidim/admin/scopes_controller.rb 91.11% <100%> (+0.2%) ⬆️
decidim-admin/config/routes.rb 100% <100%> (ø) ⬆️
...ecidim/admin/participatory_processes_controller.rb 92.15% <100%> (ø) ⬆️
.../app/controllers/decidim/admin/users_controller.rb 90.47% <100%> (ø) ⬆️
decidim-core/app/models/decidim/organization.rb 94.44% <100%> (+0.32%) ⬆️
...ecidim/admin/update_participatory_process_admin.rb 100% <100%> (ø)
...ontrollers/decidim/admin/application_controller.rb 95.83% <100%> (+0.18%) ⬆️
...ntrollers/decidim/admin/static_pages_controller.rb 100% <100%> (ø) ⬆️
... and 10 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9fc421e...e31b1f5. Read the comment docs.

@andreslucena
Copy link
Copy Markdown
Member

@lastpotion

@andreslucena We are nearly finish fixing all those issues. But, regarding the missing translations, they'll be updated when we merge the new admin with master and pass them through Crowdin.

Ok, pefect!

Also after looking how to implement the date-picker we decide to create a new branch to deal with later (https://github.com/AjuntamentdeBarcelona/decidim/tree/admin/datepicker). Since we found a couple of problems we need to face to implement it.

Ok, no worries. Maybe we also need a datetimepicker for Start and End DateTime on Meetings.

Also I've detected:

@beagleknight
Copy link
Copy Markdown
Contributor

Hi @andreslucena !

  • Usability error on i18n tabs on forms (everyone): when I save and get an error it isn't so clear that the message has happened. The label is red, and when I click on the secondary language (spanish) I can see the input red border, but it just doesn't feel good. (Maybe this belongs to an issue on decidim-design-admin)
  • Styles missing on Debates: https://decidim-barcelona-pr-91.herokuapp.com/admin/participatory_processes/2/features/17/manage - This is a feature for decidim-barcelona instance only.

I created an issue for each task because the first one it was also present on the previous admin so we are gonna treat it as a separated task.
For the Debates section we'll gonna start working on it after the new admin is in the master branch 😄 .

Finally, I added preview images in the form as a minor workaround because we don't have design for this right now. If @htmlboy can give us some insights about this it will be great 😄

@andreslucena
Copy link
Copy Markdown
Member

@beagleknight perfect!
Yes, please, any other report that you see that isn't low hanging fruit for this PR just move it to another issue. Regarding the unpublish icon, this is what I'm talking about:

imatge

On the good side, I didn't see anything that's a show stopper to merge this, so if you guys see it clear just merge if you see it clear. Great job guys! 👏 👏 👏 👏 👏

@beagleknight
Copy link
Copy Markdown
Contributor

@andreslucena Oops! I forgot about the icons, you are right! We are going to find a better one for the publish / unpublish. I think we could do something like the steps:

image

But I'm no usability expert so... what do you think @htmlboy ?

@htmlboy
Copy link
Copy Markdown
Contributor

htmlboy commented Mar 29, 2017

@beagleknight An icon like a "cross" or "forbidden" is definitely better than "download from the cloud" to "unpublish" something :-)

@lastpotion
Copy link
Copy Markdown
Contributor

lastpotion commented Mar 30, 2017

I just updated the features table with a couple new icons: check to publish and X to unpublish, thoughts?

screen shot 2017-03-30 at 09 40 15

@htmlboy
Copy link
Copy Markdown
Contributor

htmlboy commented Mar 30, 2017

@lastpotion Looks good! :-)

@beagleknight beagleknight merged commit b7ba67d into master Mar 30, 2017
@beagleknight beagleknight deleted the revamp_admin branch April 3, 2017 08:51
Quentinchampenois pushed a commit to Quentinchampenois/decidim that referenced this pull request Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants