Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Clicking terms in charm details page opens a new tab with JSON #360

Open
cmars opened this issue Oct 18, 2016 · 7 comments
Open

Clicking terms in charm details page opens a new tab with JSON #360

cmars opened this issue Oct 18, 2016 · 7 comments

Comments

@cmars
Copy link

cmars commented Oct 18, 2016

Steps to reproduce:

  1. Browse to a charm that requires agreement to terms. For example, https://jujucharms.com/u/cmars/mattermost
  2. Click the terms link. For the above linked example, this would be "Isrg-Lets-Encrypt".
  3. Instead of displaying terms, it opens a new tab containing JSON -- looks like the terms service API response containing the term that should be displayed.
@anthonydillon
Copy link

Does this mean the storefront needs a terms view? Or is link to the terms incorrect? Is there an existing terms view which we could link too?

@cmars
Copy link
Author

cmars commented Oct 21, 2016

@anthonydillon I believe the storefront needs a terms view, as it's currently linking directly to a terms API endpoint. I don't know what the UX design for terms in the details page is exactly, but I would imagine that at the very least, the SF should transform the 'content' field in each object in the JSON response into some HTML that displays the terms. Maybe a modal dialog or something?

The terms service knows nothing about HTML so the content should be sanitized accordingly, and lines wrapped to flow nicely. In many cases the content is the result of pdftoascii or a copy-and-paste.

@anthonydillon
Copy link

Thanks for the feedback. I don't think there are designs for this yet. I will pass this to the design team to work on it.

@spencerbygraves
Copy link

We have a design for terms, linked from plans in the deployment flow. Would this be the same terms?

https://github.com/CanonicalLtd/juju-design/issues/175

@spencerbygraves
Copy link

Or could a one page design like this be used?

@frankban
Copy link

The GUI uses a lightbox style terms visualizer, maybe we can do the same in the storefront?

@barrymcgee barrymcgee removed their assignment Aug 29, 2023
@syncronize-issues-to-jira
Copy link

.github/.jira_sync_config.yaml file was not found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants