Comments (5)
Storage
Three ideas.
Number one. Store what hyphae have what tags in tags.json
.
type TagStorageRecord struct {
Tag string
TaggedHyphae [] string
}
Disadvantages include lack of git-driven sync and exclusion from history. Advantages include ease of implementation.
Number two. Store tags of a hypha named foo in foo.mycotags. Tag operations become part of history and git, which is good. It's ugly though.
Number three. Make tags a type of hypha (alongside media and textual, and, perhaps, possibly, hypothetical future user hyphae) and store what other hyphae are tagged with this tag in foo.mycotag
.
I find the third approach the most Mycorrhizal.
from mycorrhiza.
Interface
HTTP
/add-tag
/remove-tag
/tags
UI
Two ideas. Place tags in the main area or in a new sidebar placed to the left. Since the main area is already packed full, the second option seems to be better.
We could place tags vertically there. If you have JS enabled, you should be able to modify tags without page reload and, perhaps, with auto-completion (how?).
A possible arrangement:
========TAGS========
Photo [x]
Galapagos [x]
[ ] [Add tag]
from mycorrhiza.
See https://mycorrhiza.lesarbr.es/hypha/idea/tags to see the three tag proposals. We'll go with the third one.
from mycorrhiza.
While writing some tag-related code, a revelation has come to me. This feature should be called categories, not tags.
- There will be less problems with phrasing. The word tag is both noun and verb, which brings weird problems, while category is noun only.
- The word Categories would look better in the sidebar, than Tags.
- The first wikis had categories, not tags. MediaWiki has categories too.
- For the Russian translation, the word категории is obvious, while with tags there is a choice of теги and тэги, both of which are ok and it's hard to pick one.
from mycorrhiza.
Categories have been implemented, localized and documented and will be part of the April release
from mycorrhiza.
Related Issues (20)
- 'Link' tag of RSS is localhost HOT 3
- Idea of a sentences separation HOT 1
- data-rrh-cats HOT 2
- Refactor shortcuts code
- Lock page CSS is broken HOT 1
- Documenting translation approaches HOT 8
- Anonymous edits with moderation? HOT 3
- Publish container image for mycorrhiza? HOT 2
- Possible to customise css? HOT 2
- Improved 404 for URLs which miss /hypha/? HOT 1
- Missing TOC markup feature? HOT 1
- How to add multiple images in the markup? HOT 1
- No version information embedded in binaries built on macOS HOT 1
- Document file structure
- pipes inside code blocks inside table cells mess up the table HOT 1
- List of shortcuts appears when you are inside input text block HOT 3
- Is there a way to fetch the data in an hypha by json, like an api? HOT 3
- Don't wrap text in codeblocks HOT 3
- Dismantle anon/auth wiki dichotomy
- Omit something in /random
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mycorrhiza.