Ticket #68 (closed task: fixed)

Opened 2 years ago

Last modified 2 years ago

Tagging system - Model / DB

Reported by: tklein Owned by: tklein
Priority: blocker Milestone: 0.2
Component: Tagging System Keywords:
Cc:

Description


Change History

Changed 2 years ago by tklein

  • status changed from new to accepted

Changed 2 years ago by tklein

(In [85]) Created migrations and models for Tagging System (see #68). Now we have three new tables:

  • tags (General purpose, can be used for all taggable objects)
  • verse_references (Abstract reference object to tag verses)
  • verse_tags (The actual link between the tags and the verse_references)

The following operations are supported by the current state of the model:

  • Assign a tag to a verse
  • Remove the assignment of a tag from a verse
  • Delete a tag (including all dependencies)
  • Rename the label / title of a tag
  • List the tags assigned to a verse
  • List the verses assigned to a tag

Verse references are kept, even if all tags are deleted. They shouldn't bother us, since they created only once for each bible verse. Users would share verse_references, although it's possible to see what User initially created a verse_reference.

Not closing this ticket, until the model is proved to be sufficient for the UI.

Changed 2 years ago by tklein

(In [86]) Some minor updates for the tagging models (see #68)

  • Inserted license header in new files
  • Added relations to user model (tags, verse_tags, verse_references)

Changed 2 years ago by tklein

(In [87]) Further work on the tagging system backend (see #68)

Refined functions for verse, bible_book and tag model

Changed 2 years ago by tklein

(In [88]) Further work on the tagging system. This is part of the first test version. (see #68)

Special functions for destruction of multiple tags and assignment of multiple tags

Changed 2 years ago by tklein

(In [96]) Logic and functionality for tagging system UI (see #68)

  • Moved function formatted_passage from outline_section.js to main.js (now both used by the outline_section and by the tagging stuff). It's now called format_passage_reference_for_view
  • Working mode is now controlled by tabs on left side
  • Optimized automatic toolbox resizing
  • JQuery buttons are initialized with configure_button_styles in main.js
  • tags_controller integrated in main application
  • Supported functions:
    • Create tags
    • Delete tags (including all assignments)
    • Assign tags
    • Remove tag assignments

Changed 2 years ago by tklein

(In [101]) Tagging UI (see #68) extended with:

  • Tag renaming
  • Selection button (Quickly select all tagged verses in the current book)

Changed 2 years ago by tklein

(In [103]) Jump to first tagged verse after selecting all the verses belonging to a tag (see #68)

Changed 2 years ago by tklein

(In [108])

see #7,#50,#68,#69,#70

Layout changed to include new main menubar

  • BibleBook?.tag_statistics added
  • Term "persistance" renamed to "communication"
  • Open print version renamed to "Printable Version"
  • #toolbox renamed to #bible-browser-toolbox
  • Delete button gets disabled when deletion not possible
  • Enable / disable the "show tag verses button" depending on availability of tag assignments

Changed 2 years ago by tklein

  • status changed from accepted to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.