Skip to content

[New Admin] Attachment update.#1158

Merged
lastpotion merged 3 commits intorevamp_adminfrom
update/attachments
Mar 23, 2017
Merged

[New Admin] Attachment update.#1158
lastpotion merged 3 commits intorevamp_adminfrom
update/attachments

Conversation

@lastpotion
Copy link
Copy Markdown
Contributor

@lastpotion lastpotion commented Mar 21, 2017

🎩 What? Why?

Update attachment section inside a process with the new admin views and styles.

📌 Related Issues

📋 Subtasks

  • Update views
  • Fix tests

📷 Screenshots (optional)

screen shot 2017-03-22 at 15 34 27

screen shot 2017-03-22 at 15 34 39

👻 GIF

@codecov-io
Copy link
Copy Markdown

codecov-io commented Mar 22, 2017

Codecov Report

Merging #1158 into revamp_admin will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff              @@
##           revamp_admin    #1158   +/-   ##
=============================================
  Coverage         97.09%   97.09%           
=============================================
  Files               422      422           
  Lines              7048     7048           
=============================================
  Hits               6843     6843           
  Misses              205      205

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 47a1202...55ff19f. Read the comment docs.

<% attached_to.attachments.each do |attachment| %>
<tr data-id="<%= attachment.id %>">
<td>
<%= link_to translated_attribute(attachment.title), polymorphic_path([attached_to, attachment]) %><br />
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think we are removing title links in favor of eye icon links.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

As we've discussed offline we will prioritize icon links for actions outside the admin panel and the title links otherwise.

@josepjaume josepjaume mentioned this pull request Mar 23, 2017
28 tasks
@lastpotion lastpotion merged commit ea0a6a0 into revamp_admin Mar 23, 2017
@lastpotion lastpotion deleted the update/attachments branch March 23, 2017 10:10
beagleknight pushed a commit that referenced this pull request Mar 27, 2017
* Views added

* Finish tests

* add helper
beagleknight pushed a commit that referenced this pull request Mar 28, 2017
* Views added

* Finish tests

* add helper
beagleknight pushed a commit that referenced this pull request Mar 29, 2017
* Views added

* Finish tests

* add helper
beagleknight pushed a commit that referenced this pull request Mar 30, 2017
* Add admin styles

* Add basic layout

* Change scopes icon

* Add participatory processes index page

* Add participatory process layout

* Fix some specs

* Fix more broken tests

* Fix more specs

* Fix poltergeist

* New admin - Settings section (#1124)

* Add participatory process layout

* Add basic layout for settings

* Finish settings form

* Add scopes index page

* Finish basic scopes admin

* Add revamp_admin to travis

* Fix a few specs

* Fix broken tests

* Remove bad merge

* [New admin] - Pages section (#1130)

* Add index section

* Add new section

* Finish forms

* Fix specs

* [New admin] - Users (#1136)

* Add layout

* Add users index page

* Add invite user form

* Add user groups index and fix pagination for both users and user groups

* Fix table links

* Fix specs

* Fix admin invite user labels

* [New admin] - Newsletters (#1140)

* Add layout and index page

* Add new/edit forms

* Add newsletter preview

* Fix specs

* [New Admin] - Process groups (#1141)

* Add new views

* Fix broken specs

* [New Admin] - Style process features (#1143)

* Style process features

* Refactor feature tests for admin

* [New Admin] - Processes info / steps (#1138)

* updated new process view

* updated process steps index

* update process steps index table

* update processes layouts

* Processes steps views updated

* Fix indentation

* Remove unusued locales

* Update tests

* Add moderations missing menu

* missing td added

* Add icon link helper (#1155)

* Add icon link helper

* Update existing icon links

* Add optional data to icon link helper

* Add methods at icon links

* Refactor tests for new icon helper

* Add docs and refactor helper call

* Refactor all icon links with new helper call

* [New Admin] Update category views. (#1148)

* Add category views

* Fix tests

* Add tests

* Add new icon_helper

* [New Admin] Attachment update. (#1158)

* Views added

* Finish tests

* add helper

* Style process features at admin (#1149)

* [New Admin] - Process groups (#1141)

* Add new views

* Fix broken specs

* Style meetings table

* Update branch with icon helper

* Style proposals

* Style results

* Style budgets

* Update missing styles for some forms

* Fix most of the tests

* Fix more tests

* Style moderation tables (#1182)

* Remove unused travis step

* [New Admin] Update process admins views. (#1183)

* Add new and edit forms

* clean update command

* Tests added

* Amend test

* Add dashboard content

* Spellcheck

* Amend managing roles strings

* Use user instead of admin

* Fix participatory process edit button

* Add some feedback

* Add styles for feature forms

* Add edit feature form

* Add more feedback

* [New Admin] Html and styles review. (#1200)

* Review all the forms

* Class coherence review

* CA: Swap funcionalitat with component

* Fix a few specs

* ES: Swap funcionalidad with componente

* Fix a few more specs

* Add missing helper

* Add preview images to organization settings form

* Icons updated on features table

* amend icon
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.

4 participants