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

Simple and advanced modes #43

Open
3 tasks
interrogator opened this issue May 20, 2020 · 1 comment
Open
3 tasks

Simple and advanced modes #43

interrogator opened this issue May 20, 2020 · 1 comment
Labels
law-hist needed for law history demo

Comments

@interrogator
Copy link
Owner

Legal historians generally don't need all the linguisticky stuff of buzzword. So we need to figure out how to handle simple/advanced modes.

I've found it's hard to have these as toggles always available to users. If simple mode turns off regex, internals need to change and so on.

The first solution (for law-hist) will be hopefully to set simple mode at corpus level. Then we filter out very linguisticky columns from view, no ability to search by them, etc.

Later, the ideal solution would be a per-user setting (in their preferences, they can toggle advanced mode).

Things to do include:

  • adding simple_mode to Corpus object
  • determine which features are to be hidden/disabled in simple mode
  • getting this into django-plotly-dash and use to turn off/hide these various complex features

Then later, simple_mode becomes a feature of User, not Corpus

@interrogator interrogator added the law-hist needed for law history demo label May 20, 2020
@interrogator
Copy link
Owner Author

Swiss law branch currently provides a simplified interface. Advanced features should be introduced by the above mechanism.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
law-hist needed for law history demo
Projects
None yet
Development

No branches or pull requests

1 participant