-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFC: Proposed renaming scheme #19
Comments
How about AddressBook -> EntryCollection? Entries sounds more like what you would call a variable of type Entry[]. |
I agree Entries is not ideal. However, using the word "collection" might confuse it with Java collections too... |
feedLink should be a Set? Since a single link might have been present in multiple feeds |
Should siteName be a property of Link instead? |
+1
I think after the meeting it was decided that links refer to the actual URL while what we were calling link before is just Entry. I don't think there's a strong need to make Link its own class, but if it was its own class, then we can probably move siteName into the Link class. |
Makes sense. Eventually the UI |
Oh yeah, didn't think of that, will update accordingly |
Should we store the date an entry is added or is it unnecessary? |
Yeah, I think this is a good idea.
… On 25 Feb 2019, at 17:57, Rayner Lim ***@***.***> wrote:
Should we store the date an entry is added or is it unnecessary?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Moving this to v1.3 as this is low priority. Bulk of the renames are complete. The remaining renames are to be done progressively as we touch the code. |
Proposed renaming scheme
Since we are going to start morphing the AddressBook soon, we should settle on a renaming scheme so work can be split up more easily.
In our discussions, we used
Link
to replacePerson
, however I think a better name is needed to avoid confusion.Therefore, I'm proposing the following scheme, which tries to use similar terms as the Atom feed specification, and also tries to avoid naming conflicts with any of the libraries we are going to use.
Do give feedback or suggest how we can make this scheme better!
Updates
25/2: move
siteName
into Link, changefeedLink
type toSet<Link>
24/2: change
Entries
toEntryBook
Model
Storage
UI
Entry class (replaces Person class)
- require non-null
- isSame check only on this field
- from Crux, usually headline of news article or HTML <title> tag content
- or user-overridden
- carried over
- user comments on the entry, e.g. why user saved the link
- added by Feeds component
- used to filter entries by feeds
- estimated reading time from Crux
- from Crux
- used if available, otherwise summary is generated
- from Crux
- url of hero image to be displayed in EntryCard
The text was updated successfully, but these errors were encountered: