Updates to People and Group pages
complete
Amrayu78
Please make the following updates to People pages.
- Update the Pirate's Booty widget download mechanism (to log downloads) so it doesn't open up gofile in a new tab and move it to a tab (see screenshot)
- Update the Pirate's Booty field to allow title text so users know what the link is; re-use the design of the current Subtitles tab
- Minimize the amount of updates shown in Recent Oshi Timeline Moments--in some instances, it's a bit much
Amrayu78
marked this post as
complete
Amrayu78
Max Romanchenko task for you whenever you get the chance! Thanks
Max Romanchenko
Amrayu78 Sure, I've made some changes but have a few questions about "Pirate's Booty" before continuing.
Just to confirm, the "Pirate's Booty" widget appears on people pages, movie pages, and subtitle projects, right?
- Partially done. Links now log downloads and open in a modal instead of a new tab.
- Question about titles and widget design. Do you actually need manual title fields, or can I auto-generate them from the domain (e.g., "Gofile 1", "Gofile 2")? Auto-generation is simpler and doesn't require an extra input field or data migration. If you do want manual titles (like the Episodes tab with "PB Link" and "PB Note" fields), I'll need to migrate existing data.
Are we moving the "Pirate's Booty" widget to new tab for all post types, or just people pages?
I think it makes sense to update all types at once for consistency, please let me know what you prefer.
- Done. Reduced the number of updates shown in Recent Oshi Timeline Moments.
Amrayu78
Max Romanchenko
the "Pirate's Booty" widget appears on people pages, movie pages, and subtitle projects, right? <<<< Yes, but People pages may have different titles (shows, etc), where movie and subtitle projects will belong to one title only.
Titles and Widget design: We only need the manual title fields for People and Groups since these can range in terms of videos (interviews, random shows, variety shows, documentaries, etc, we do not add these onto the site, so they are added to the People and Groups to avoid adding such titles to the site).
Please leave Movies and Subtitle Projects as-is, they function okay for now since a widget on the front page is okay. I may change my mind later. We do not have many People/Groups that are linked, so migrating that data is fine.
We are only moving the Pirates Booty widget for People and Group pages.
Max Romanchenko
Amrayu78 Thanks for your answers, I understand - we're working on the person/group, leaving the rest untouched.
The source of the Pirates Booty widget for people and groups is a simple URL field (it can have several values). As I understand it, first we need to change the storage of this field (add a title field for each URL) and then display all of this in the new Pirates Booty tab.
I'm still not 100% sure I understand correctly, so I prepared a screenshot showing the current Pirates Booty field, and below I created a new field with title support ( like in the episodes - PB Link + PB Note).
Have I understood everything correctly? At the moment, there are a total of 9 persons with a non-empty Pirates Booty field, so the migration will be not complicated, as you have noticed. Groups do not have any Pirates Booty links yet.
Please confirm that I have understood correctly, and I will continue with the changes.
- The second question is about the design of the Pirates Booty tab. You wrote “re-use the design of the current Subtitles tab” - do you mean something similar to a stream link, without an accordion?
Amrayu78
Max Romanchenko Yes, you've understood everything correctly.
2nd question: Styling/design should be similar to the Episodes tab of Dramas/Specials.
+ Add Pirate's Booty
Title (English)
Title native
Air date
Duration
Description
Screenshots
Featured image
PB link
PB Note
Max Romanchenko
Amrayu78 Thanks for the details. It's done. I've migrated the data to the new format and created a new tab for Pirate's Booty (it only shows up if there is data) on people and group pages.
Since there isn't much data yet, I displayed the title as "Untitled Pirate's Booty" if the basic fields are empty.
I've also changed the UI for this field in the people and groups forms (admin and frontend).
Please check.
Amrayu78
Max Romanchenko Looks good and is working.
I forgot that there's another use case and some fansubbers have uploaded Subtitle Projects against a Person, so we'll have to clean this up and add a Subtitles tab to People and Groups if subtitle projects exist for them or not.
Here's an example: https://drama-otaku.com/person/akaso-eiji/#profile
Please use the styling from existing Subtitles tab that we have for Dramas, Movies, and Specials.
Max Romanchenko
Amrayu78 Sure, I've added a "Subtitles" tab for people and groups if they have related projects.
Amrayu78
Max Romanchenko one last thing, for people and group pages, can we remove the subtitle availability from the first tab? I'm just afraid if this list keeps growing, it'll make the page look messy. For Dramas, Movies, and Specials, we rarely have this issue because at most we will have 2-3 subtitles only.
Max Romanchenko
Amrayu78 Sure, I've removed Subtitle availability from people and group pages.