SolidOS / SolidOS/mashlib

Some issue with Meeting

Open
#92 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
70
Forks
31
Avg merge
4h 14m
Merged PRs (30d)
5

Description

Hi @all, wanting to play with Solid Meeting, i've encountered a lot of issue and some seems to come from mashlib? Meeting pane ? databrowser ? .
here is the discussion about it https://forum.solidproject.org/t/collection-with-tripledoc/3071/4

First : As pointed @Vincent it seems that this turtle uses some vocabulary that does not exist :

flow#participation
flow#participant

in the https://www.w3.org/2005/01/wf/flow# defined by @timbl

Next, i've used databrowser to create one : https://holacracy.solid.community/public/meeting/gouvernance/second%20meeting/index.ttl#this
what gave me

@prefix : <#>.
@prefix mee: <http://www.w3.org/ns/pim/meeting#>.
@prefix ic: <http://www.w3.org/2002/12/cal/ical#>.
@prefix XML: <http://www.w3.org/2001/XMLSchema#>.
@prefix flow: <http://www.w3.org/2005/01/wf/flow#>.
@prefix c: </profile/card#>.
@prefix ui: <http://www.w3.org/ns/ui#>.
@prefix n0: <http://purl.org/dc/elements/1.1/>.

:id1589757677361
    ic:dtstart "2020-05-17T23:21:17Z"^^XML:dateTime;
    flow:participant c:me;
    ui:backgroundColor "#dbe0cb".
:this
    a mee:Meeting;
    n0:author c:me;
    n0:created "2020-05-17T23:21:01Z"^^XML:dateTime;
    ic:comment "comment cool";
    ic:dtend "2020-05-13"^^XML:date;
    ic:dtstart "2020-05-04"^^XML:date;
    ic:location "nowhere";
    ic:summary "second test meeting";
    flow:participation :id1589757677361;
    mee:toolList ( :this );
    ui:backgroundColor "#ddddcc"^^XML:color.

I wanted to created a new Meeting from my app https://scenaristeur.github.io/spoggy-group/ (the "Gouv" button)
but as said in the forum, Tripledoc can't help me to create toolList as expected by mashlib.

Considering the

    mee:toolList ( :this );

No library i know (tripledoc, ldflex, solid-file-client) is able to manage this kind of Collection ?
or are there ?
So is it a good idea to use it ?
And if i don't use this triple, the mashlib throw me an error .

TypeError: can't access property "length", o is undefined
  https://holacracy.solid.community/mashlib.min.js:109:231536
    N/<  https://holacracy.solid.community/mashlib.min.js:109:232045
    N  https://holacracy.solid.community/mashlib.min.js:109:232528
    i.tabs.tabWidget  https://holacracy.solid.community/mashlib.min.js:109:476944
    render  https://holacracy.solid.community/mashlib.min.js:109:248135
    e.exports/this.propertyTable/<  undefined

So , how could I recreate a Solid Meeting from a client app ? Here is my code
https://github.com/scenaristeur/spoggy-group/blob/9b49f22f2289c2cde38b4fd4c0119a82d2e0b33c/src/views/gouvernance-meeting-view.js#L79

Thxs

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked gouvernance-meeting-view.js code and reproduce the mashlib.min.js TypeError using the provided Meeting Turtle data. Review the forum discussion and the mashlib Meeting/propertyTable path; done means identifying and resolving the failure when mee:toolList is absent or represented as shown.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.