vaizard / glued-archived

1 stars 3 forks source link

Simplified vector app #75

Open killua-eu opened 5 years ago

killua-eu commented 5 years ago

This is a simplified version of #41. To get things running, lets just use the following data, either

{
"data":
    "vector": [
        {
          "tzid": "Europe/Prague",
          "uid": "rjerkjwehrwrh3@tractor.in.space",
          "dtstart": [ "", "20130101" ],
          "dtend":  [ "Europe/London", "20130101" ],
          "dtcreated": "20111213T124028Z",
          "dtmodified": "20111218T124028Z",
          "summary": "New years eve",
          "description": "The most awesome new years celebration ever",
          "url": [ "facebook event", "https://www.facebook.com/events/296139871007754/" ]     
        }
     ]
}

or

{
"data":
    "vector": [
        {
          "tzid": "Europe/Prague",
          "uid": "rjerkjwehrwrh3@tractor.in.space",
          "dtstart": { "dt": "20130101" }
          "dtend": { "tz": "Europe/London", "dt": "20130101" }
          "dtcreated": "20111213T124028Z",
          "dtmodified": "20111218T124028Z",
          "summary": "New years eve",
          "description": "The most awesome new years celebration ever",
          "uris": {
            "type": "facebook event", 
            "uri": "https://www.facebook.com/events/296139871007754/" 
          }     
        }
     ]
}

.. i think the 2nd is more convenient and consistent with how we do schemas?

pohadkar commented 5 years ago

nekdy v srpnu 2018 byla navrzena tato struktura https://docs.google.com/spreadsheets/d/1Cf_F4_ufK43OfbqZgwBctRAg1wmTGshlwEvYbOSd2to/edit#gid=0

na me je ted napsat k tomu schema

pohadkar commented 5 years ago

udelal jsem pro vector schema. neni tam jeste vse ale ty zakladni veci tam jsou. v modulu vector ted jde vlozit novy vector z gluedu. nazev vectoru vypisovaneho v prehledu je data prvniho summary (summary[0].data) jelikoz ale neni ve formu nijak povinny ani prednastaveny, je zatim mozne form odeslat bez toho. TODO, zajistit ze prvni summary bude rozkliknute a data budou povinne. TODO, attr.feed by mel byt true/false , protoze je ve formu ale reprezentovan checkboxem, tak pokud se nezaskrtne, v datech vubec neni. (zjistit jak se to dela aby byl false) TODO, status.privacy umoznit jen vyber ze dvou hodnot private/public

killua-eu commented 5 years ago

https://docs.google.com/spreadsheets/d/1Cf_F4_ufK43OfbqZgwBctRAg1wmTGshlwEvYbOSd2to/edit#gid=0