Ghini / ghini.web

web and geo interface to ghini.desktop database
GNU Affero General Public License v3.0
4 stars 1 forks source link

upon successful connection, what do we do ? #7

Closed mfrasca closed 7 years ago

mfrasca commented 7 years ago

currently, the server states and does this:

// Upon a successful connection, we send the complete list of plants for
// which we have the geographic coordinates, and register three handlers that
// will be used as receivers of client changes. The client will emit
// messages of type 'move', 'insert', 'delete'.

we have now a different approach:

we only want very special clients to be allowed to edit plant location information. I suppose I will implement this with some sort of tokens.

mfrasca commented 7 years ago

I also think we should not differentiate among gardens, plants, photos, or information panes. all are localized objects, all have an icon (like our ugly compact target icons), possibly an awesome marker (meaning a colour and again an icon), and a brief html text that will be shown in the popup when the marker is clicked on.

I don't know how to realize the 'click here and send a request to the server', but we will see... why I'm saying this: imagine you look at the pop-up for a garden, one action has to be please zoom into the garden; imagine you look a tthe pop-up for a plant, one action has to be please highlight all similar plants; what else... ?

mfrasca commented 7 years ago

there's cleaning up to do, but that's a different issue