Comments (5)
I am sorry I am not able to understand what exactly do you mean by journal entry and journal object?
Thanks!
from convert.
https://help.sugarlabs.org/en/journal.html should help to explain. Every Sugar activity creates a Journal Entry. Internally, a Journal Entry is implemented as a Journal Object in Python. Look at the activity API sources in the toolkit.
from convert.
@quozl I am sorry but still I am not able to understand what's the difference between Journal entry and user's activity instance data directory.I don't know much about journal entry but as per my knowledge of user's activity instance data directory won't it be better to save this dimensions and units at user's activity instance data directory.I worked on it and made a pull request I request you to once review it and decide 😄 .Thanks!
from convert.
@Aniket21mathur, the difference is profound and yet subtle.
- Journal Entry
- what a user of Sugar is to think of as a file,
- shown by the Journal (F5 key),
- created automatically by running an activity,
- resuming the entry resumes the activity in the same state as when it was stopped,
- implemented as files and metadata in a private directory managed by the Sugar Datastore component, using a D-Bus RPC API.
- activity instance data directory,
- unique to an activity,
- a directory into which an activity may read and write data,
- best used for activity state that is permanent, such as Terminal font size,
I suggest you read one of the guides to writing Sugar activities.
from convert.
Is this issue still open?
from convert.
Related Issues (13)
- Transfer project to sugarlabs
- Unit spinners empty HOT 4
- Superscript text not rendered in Gtk.ComboBox labels HOT 1
- Use better defaults for units HOT 1
- Value entry does not need spin buttons HOT 3
- Result widget shows superfluous text cursor when clicked HOT 6
- Convert button should be automatic HOT 4
- Add edit toolbar and buttons HOT 4
- Activity review comments HOT 5
- Two entry boxes would remove need for swap button HOT 4
- Show the conversion ratio HOT 5
- Regressions on OLPC XO
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from convert.