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

Feature request: Ability to add metadata to a note #14

Closed
julkue opened this issue Feb 9, 2016 · 7 comments
Closed

Feature request: Ability to add metadata to a note #14

julkue opened this issue Feb 9, 2016 · 7 comments
Assignees

Comments

@julkue
Copy link
Contributor

julkue commented Feb 9, 2016

It would be great to have the ability to add metadata to a note (predefined structure).
Something like that:

meta: {
    'title': {
        'type': 'input',
        'maxlength': '100'
    },
    'category': {
        'type': 'input'
    }
}

This would add further abilities, like filtering based on metadata.

@txusko
Copy link
Owner

txusko commented Feb 9, 2016

I don't understand the aim of this feature.

Do you want to add "data" attributes in the DOM final object? For example:
<div data-title="title" data-category="stuff" ... >Note</div>

@julkue
Copy link
Contributor Author

julkue commented Feb 11, 2016

No, not data attributes. In the note popup you can enter text. Now, in separate text inputs (defined in a structure above) you could add additional meta informations. Do you know what I mean?

@txusko
Copy link
Owner

txusko commented Feb 12, 2016

Yeah! I didn't understand well at first.
I like the idea, and I will try to add it in future releases.

Thanks again Julian!

@txusko txusko self-assigned this Feb 12, 2016
@txusko
Copy link
Owner

txusko commented Feb 28, 2016

Hi again Julian,

I have created a new branch with this feature:
https://github.com/txusko/PostItAll/tree/PostItAll-1.0.8-MetaData

You can try it here:
http://postitall.txusko.com/tmp/localStorage.html
(create a note and click on the "info icon" on the left-buttom corner of the note. You will see 2 tabs, the meta-data is in the second one)

Is this what you expected?

Best regards
Javi Filella

@julkue
Copy link
Contributor Author

julkue commented Feb 29, 2016

Thanks Javi, this is what I was looking for.

@txusko
Copy link
Owner

txusko commented Mar 7, 2016

#26

@txusko txusko closed this as completed Mar 7, 2016
@julkue
Copy link
Contributor Author

julkue commented Mar 14, 2016

@txusko Is it possible to assign a specific meta information to a new note? For example if the user would click on a specific button "Personal" I would know that he would like to add a note for this category. So I could set this information for him.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants