edgeryders / openethnographer-for-drupal

Open Ethnographer for Drupal 7. (LEGACY CODE)
https://edgeryders.eu/t/3939
Other
5 stars 1 forks source link

Sidebar UI #50

Open tanius opened 9 years ago

tanius commented 9 years ago

A new attempt to discuss and implement a sidebar user interface for Open Ethnographer (after #15 and #32). The last state of discussion is that it should not contain individual annotations, which are in the main text already, and also not the quotation manager, which is better suited for more spacy taxonomy term pages where it lives now. However, the sidebar is intended to contain some or all of the following:

The basic implementation for an 1.0 release would be: editing tag properties, a list of tags with the ability to switch their visibility, and the export button (without #19 or #20). (Merging can be provided via tagadelic in the meantime, and forking and collaboration are only relevant once we have private tags for true multi-user use.)

tanius commented 9 years ago

Since the sidebar is going to be mostly a tag manager, and not an annotation / quotation manager, it does not not need much of a direct integration with Annotator. (Edit: Switching annotation visibility by tag needs some interaction with Annotator though.)

So, maybe we should not make this an Annotator plugin, which would happen if basing it on the annotator_view plugin. Instead, we might better make this into a normal Drupal module. It would then be the main part of a future Drupal module openethnographer, which would depend on the annotator and annotation Drupal modules for most of the other components which we'll contribute upstream.

Opinions, @danohuiginn? (Also, did you start with the new sidebar already, or if not, do you want to take this over? Depends on your available time obviously.)

tanius commented 9 years ago

Whoever will implement this should have a look at term_merge. It allows merging tags, which Drupal Core does not support. So its backend function for merging could simply be called when merging in the sidebar UI, a type of integration also done by taxonomy_manager, which see as an example.

Note that we already have term_merge integration via e5ae01f, just not an own UI to trigger this. Also, taxonomy manager could have some moew backend goodies and example code that would benefit this sidebar UI feature.

Update: Corrected the module names. It's not tagadelic, but term_merge and taxonomy_manager.

tanius commented 9 years ago

Assigning to @danohuiginn since you agreed today to work on this :) So, it's yours.

tanius commented 9 years ago

Corrected my comment above with hints to useful code, also mentioning the term_merge integration that I added.

tanius commented 9 years ago

How are thinks going, @danohuiginn? Do you have an approx. date when you can finish this feature?