Add get_about_info function #15

Merged
glyph merged 1 commits from get-about-info into main 2022-01-18 09:11:44 +00:00
Owner

I changed get_profile_info into an abstract function get_about_info, which is used by get_profile_info and get_name_and_image (this latter function being useful if we want to get a list of names and images for a list of follows/followers/blocks, similar to how they do it in goasis, in a for loop, for each user b7d92c6307/item/src/models.js (L380)).

After doing the work in this issue #14,
we can then call this function on each user we find,
as well as figure out how to render the blobs from these image references.

I changed get_profile_info into an abstract function get_about_info, which is used by get_profile_info and get_name_and_image (this latter function being useful if we want to get a list of names and images for a list of follows/followers/blocks, similar to how they do it in goasis, in a for loop, for each user https://git.sr.ht/~cryptix/ssb-oasis/tree/b7d92c630722fc99cdb91c8e540cca93c0e02669/item/src/models.js#L380). After doing the work in this issue https://git.coopcloud.tech/golgi-ssb/golgi/issues/14, we can then call this function on each user we find, as well as figure out how to render the blobs from these image references.
notplants added 1 commit 2022-01-13 19:38:14 +00:00
notplants requested review from glyph 2022-01-13 19:38:21 +00:00
glyph approved these changes 2022-01-18 09:11:35 +00:00
glyph left a comment
Owner

Awesome, great to see these multiple levels of abstraction.

🟢

Awesome, great to see these multiple levels of abstraction. 🟢
glyph merged commit 1e211d894e into main 2022-01-18 09:11:44 +00:00
glyph deleted branch get-about-info 2022-01-18 09:11:45 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: golgi-ssb/golgi#15
No description provided.