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

Autotags #38

Open
Nigh7Sh4de opened this issue Aug 11, 2019 · 0 comments
Open

Autotags #38

Nigh7Sh4de opened this issue Aug 11, 2019 · 0 comments
Milestone

Comments

@Nigh7Sh4de
Copy link
Owner

Nigh7Sh4de commented Aug 11, 2019

When events are being created, some tags should be recommended based event info.

Data:

  • Events
    • Remapped to be indexed by id { id: Event }
    • Sorted prop added to reducer to contain sorted array of events [ Event.id, ... ]
  • Tags New
    • Data moved from events.tags
    • Indexed by tag name and contains list of tagged events { Tag: { tags: [ Event.id, ... ] } }
    • Keywords collection in Firestore indexed by keyword and contains list of tags

Actions

  • Tag reducer to subscribe to all Event actions to generate tags
  • New Keyword actions to set and remove keywords in Firestore

UI

  • events/new.js Suggestion algorithm:
    • onChangeText in event subject line:
      • Split subject into words
      • For each word select all top settings.keywordThreshold # of tags
@Nigh7Sh4de Nigh7Sh4de changed the title **Autotags** Autotags Aug 11, 2019
@Nigh7Sh4de Nigh7Sh4de added this to the 1.2-beta milestone Aug 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant