On 6 Jun 2017, at 08:26, Sarthak Gupta
<sarthakgupta072(a)gmail.com> wrote:
Hello Vincent,
On Mon, Jun 5, 2017 at 10:43 PM, Vincent Massol <vincent(a)massol.net> wrote:
Hi Sarthak,
On 29 May 2017, at 19:02, Sarthak Gupta
<sarthakgupta072(a)gmail.com>
wrote:
Hi Vincent,
As the coding period begins tomorrow officially, so I will need a repo in
xwiki-contrib. :)
Done:
- Github:
https://github.com/xwiki-contrib/application-glossary
- JIRA:
https://jira.xwiki.org/browse/GLOSSARY
You should create a single issue for the 1st version of the glossary app
and describe in the jira what this first version will contain & assign it
to you. Then when you commit make sure to use the format as described on
http://dev.xwiki.org/xwiki/bin/view/Community/DevelopmentPra
ctices#HJIRABestPractices
Also, will my general workflow be like:
- making changes inside XWiki(xwiki instance).
- Exporting those changes. (XML files will be generated)
Make sure to use “mvn xar:format” too. See “xwiki xar plugin” in google.
- Adding those files to GitHub Repo.
- Doing regular commits to Github repo.
Sounds good!
Secondly, I had a doubt that, if I want to
customize a page using
CSS/Javascript. What is the correct way of doing that?
I mean, whether I create objects(jsx/jsfx and
ssx) on the same page as
Glossary app home page(if I want to add styles to Glossary home page) or
make separate pages for them. I saw the blog app and there it is created
separately.
What’s important is that technical content is created in the Code subspace.
Also, I wanted to enquire if there is some naming
convention while
creating
different pages, or I should name them
suitably.(Yes, those names can be
changed later :P).
There are some best practices here:
http://dev.xwiki.org/xwiki/bin/view/Community/ApplicationDev
elopmentBestPractices
* Have a “Add Glossary Entry” button and text
field to add a new entry.
IMO, "Add Glossary Entry" button will vanish the 'context' thing
because glossary will for the items/words on different pages of XWiki.
How
can a user enter a glossary entry if he
doesn't know the source? :) (Just
like annotations).
This question is worrying me because it probably means we have a
completely different idea of the glossary application!
For me glossary means linking a glossary term with a glossary definition.
As you can see there’s no context need for doing that obviously…
Why do you say there *must* be a context like annotation?
This is actually even wrong IMO because a *ANY* page having the glossary
item should render it with a link to the glossary definition...
work to be done.
I was in the thought that a glossary item may have different meanings in
different contexts. For eg: In some page a term(say 'foo') may mean one
thing and in an another page the term may mean something else.
So, I thought that if a user is adding things in context then it will not
create that scenario.
But, now I think that this idea will not be feasible and will not be
user-friendly also. And I was using the term 'annotation' in a wrong sense
(sorry for that).
The solution to the above problem can be that we should allow user to
create multiple glossary entries for a single glossary item just like in a
dictionary. And also it will be a very rare case that there will be
glossary item with multiple meanings, so we can also drop this idea.
WDYT?