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

Import/export Context #8173

Closed
2 tasks
weberjavi opened this issue May 6, 2022 · 2 comments
Closed
2 tasks

Import/export Context #8173

weberjavi opened this issue May 6, 2022 · 2 comments
Assignees
Labels
duplicate New Feature used for new functionalities Priority: Low

Comments

@weberjavi
Copy link
Contributor

Description

Add two buttons on the burger menu to trigger import/export functionality for the whole Context.

Acceptance criteria

Add in the related burger menu the possibility to

  • import a context (from json)
  • export a context (to json)
@weberjavi
Copy link
Contributor Author

@tdipisa there are some UX uncertainties related to the implementation of the import/export functionality for the Contexts that would need to be clarified.
Unlike maps, dashboards and stories, contexts are abstract entities, templates that define a set of functionalities available for the quick creation of new maps.
On the current implementation state of the platform the import/export functionality for the maps is triggered from within the selected map view, from the sidebar icons 👇🏼
image
the same functionality and user flow could be accomplished for the stories and dashboards (placing the import/export buttons inside the burger menu), but that is not the case for the contexts. When we select a context inside the contexts manager view

image

we get into the map viewer and the actions we can trigger from there belong to the map (and are defined by the available plugins defined when creating the context).

I would say that import/export functionality for the contexts should be handled from the contexts manager view, that is kind of the admin space for contexts. My proposal would be to add a button next to New Context button to allow user to import a context (from a .json file).

image

Also in order to export an already created context I think that adding another icon button to the already existing ones on the context card would be the best approach. Those buttons are already handling admin actions for the context

image

Please let me know your thoughts on that approach.

@tdipisa
Copy link
Member

tdipisa commented May 19, 2022

@weberjavi no need now to manage import/export of contexts because this functionality is not expected for these at the moment. We can schedule it later also including some design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate New Feature used for new functionalities Priority: Low
Projects
None yet
Development

No branches or pull requests

3 participants