Skip to content
This repository has been archived by the owner on Dec 23, 2017. It is now read-only.

Getting panel to work on modal #342

Merged
merged 2 commits into from
Jul 22, 2015

Conversation

msecret
Copy link
Contributor

@msecret msecret commented Jul 20, 2015

  • Rename the UI of the pop-out from "modal" to "panel". This was renamed
    because this UI will not be strictly a modal. It will act as a modal
    on mobile and as a split 50% panel on tablet, up. @noahmanger, please
    let me know if theres a better name.
  • Change the columns around to have an arrow column at the end of the
    rows.
  • Make the whole row clickable to open the panel, if you click on a link
    it will pass through and open the link.

This needs some of the work done in #337, #338 in order to get
expeditures working.

- Rename the UI of the pop-out from "modal" to "panel". This was renamed
because this UI will not be strictly a modal. It will act as a modal
on mobile and as a split 50% panel on tablet, up. @noahmanger, please
let me know if theres a better name.
- Change the columns around to have an arrow column at the end of the
rows.
- Make the whole row clickable to open the panel, if you click on a link
it will pass through and open the link.

This needs some of the work done in fecgov#337, fecgov#338 in order to get
expeditures working.
@noahmanger
Copy link
Contributor

So this isn't currently styled to show the split view, right?

Also, you're right on the tablet-up layout, but on mobile it should actually be more like a two panel view, but where you go between them, rather than a pop up. Like this: #317

I can explain better in person.

Do you want to merge this in now?

@msecret
Copy link
Contributor Author

msecret commented Jul 21, 2015

@noahmanger correct, this does not implement the split view right now. I'm attempting to break the work into small chunks, and all this does is rename the modal, create the table cell for the arrow in the UI, and ensure the whole row is clickable to open the modal on mobile and full screen.

@noahmanger
Copy link
Contributor

+1

On Tue, Jul 21, 2015 at 8:13 AM, Marco Segreto notifications@github.com
wrote:

@noahmanger https://github.com/noahmanger correct, this does not
implement the split view right now. I'm attempting to break the work into
small chunks, and all this does is rename the modal, create the table cell
for the arrow in the UI, and ensure the whole row is clickable to open the
modal on mobile and full screen.


Reply to this email directly or view it on GitHub
#342 (comment).

Noah Manger
18F http://18f.gsa.gov | Work: 415-696-6146

@noahmanger
Copy link
Contributor

Looks fine to me except there's a conflict in tables.js.

…dal_on_mobile

Conflicts:
	static/js/modules/tables.js
noahmanger pushed a commit that referenced this pull request Jul 22, 2015
@noahmanger noahmanger merged commit b272a9b into fecgov:develop Jul 22, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants