feat(1FLEX): add activity#10949
Conversation
🖼️ Activity asset previewAsset inspection complete. No pixels were harmed in the making of this comment. 🤖 1Flex (
|
| Preview | Source | URL |
|---|---|---|
![]() |
logo | https://i.imgur.com/etdu1L5.png |
![]() |
thumbnail | https://i.imgur.com/r3cFlG5.png |
Beep boop — I refresh this comment on every push, so no need to scroll. 🤖
There was a problem hiding this comment.
ESLint found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
93f6949 to
e4bd8b5
Compare
|
If im not wrong you should remove the assets folder and upload the images to for example imgur and paste the link in metadata and presence.ts |
|
Also I noticed you are using type assertions (casting) instead of generics. You should update this |
| "url": "www.1flex.org", | ||
| "regExp": "^https?[:][/][/](www[.])?1flex[.]org[/]", | ||
| "version": "1.0.0", | ||
| "logo": "https://raw.githubusercontent.com/AlFarrizi-Studio/Activities/add-1flex-activity/websites/0-9/1Flex/assets/logo.png", |
There was a problem hiding this comment.
Accord to the comment i made to you early
"logo": "https://imgur.com/etdu1L5.png"
"thumbnail": "https://imgur.com/r3cFlG5.png"
|
Ok, I’ll update the changes again and thanks for the reminder 🙏 |
b8b0491 to
26ec071
Compare
|
Done, and is there anything that needs to be fixed again? 🤔 |
Signed-off-by: Al Farrizi <sarkasspamgaming06@gmail.com>
Signed-off-by: Al Farrizi <sarkasspamgaming06@gmail.com>
Bas950
left a comment
There was a problem hiding this comment.
think some of the strings can be replaced with general ones.
And maybe split your presence.ts into multiple files as 3000+ lines is a lot....
| "1flex.homePremium": { | ||
| "description": "Premium style home page status.", | ||
| "message": "Browsing 1Flex Homepage" | ||
| }, |
There was a problem hiding this comment.
just use the generic browsing (homepage) string


Adds a PreMiD activity for 1Flex.
Features
Detects the main 1Flex sections:
Shows useful Discord Rich Presence details:
Handles trailer preview behavior so Home and TV Shows do not incorrectly switch to More Info while trailer previews are playing.
Uses the official 1Flex website description.
Uses 512x512 logo and thumbnail assets generated from official 1Flex website assets.
Includes strings for activity states and reusable labels.
Tested Pages
Screenshots
Proof showing the creation/modification is working as expected
Home
Shows Home detection and browsing state.
TV Shows / More Info
Shows TV Shows detection and More Info modal state.
Sports Stream
Shows Sports stream detection with LIVE state.
Browse by Languages
Shows Browse by Languages filters being detected.
Torrent Search
Shows Torrent Search result count detection.
Movie Playback
Shows movie playback title, cover, and timestamp/progress.
TV Show Playback
Shows TV show playback title, season/episode, cover, and timestamp/progress.
Validation