Commit Graph

55 Commits

Author SHA1 Message Date
neon443
11cebac1b4 starting to add emojipacks 2025-12-01 15:07:44 +00:00
neon443
1de0214c43 fasjhd 2025-11-22 20:48:19 +00:00
neon443
12484f6226 added an easter egg for the idiot who dowloads all the emojis
fix downloadall/deleteall stickers
2025-11-22 18:15:27 +00:00
neon443
98d8f083a1 massively improved indexing performance:
cache the downloadedEmojis Set and Array
added resize image function, yet to use
the app icon and name are horizontally aligned in settings
2025-11-22 17:31:03 +00:00
neon443
60cc167be3 move listrow
compute letterstats once
sort by in letterstats
2025-11-21 10:53:57 +00:00
neon443
3476751a31 add welcome view with how to use steps
add listrow for reusability
added stats like total, downloaded emojis
added letterstats to count how many emojis there are starting with each letter
fix lag when opening settigns cos we were initing a new hoarder in trietestingview
fix downloaded view using screen width instead of window width now its good on mac and ipad split screen
added designed for ipad support
2025-11-21 10:09:03 +00:00
neon443
ccadff053e using wkwebview - i dont like how it turned out...
takes a second to load and has a white bg :(
2025-11-20 20:19:13 +00:00
neon443
c5eb71fc6c hacky workaround to get gifs playing 2025-11-19 20:11:00 +00:00
neon443
c670958562 add settingsview
load dict and save dict
xcode 14+
2025-11-19 08:53:38 +00:00
neon443
1c4ef6896d quicker opening of the imessage app, support ios 17 and below again 2025-11-10 15:14:51 +00:00
neon443
7dcf04f27e a lot of updates
grid view for downloaded emojis

shared instance of EmojiHoarder
nonisolated static localEmojiDB var
deleteallstickers is @MainActor
2025-11-06 20:25:40 +00:00
neon443
c3cfecb87e organised the project for the first time 2025-11-05 19:25:55 +00:00
neon443
44b24dd615 ajkf 2025-11-04 07:36:13 +00:00
neon443
4c9cd6c8e6 use emojirow in trietestingview
extract trietestingview
2025-11-03 20:40:27 +00:00
neon443
73f5d1c45d add emojiRow
not using uikit cos i cba with the refreshing and stuff
added test emojii static var
2025-11-03 20:35:14 +00:00
neon443
18e1ebc870 UIKit time :yay: 2025-11-03 20:27:38 +00:00
neon443
6507caa635 added animations on search
remove all items cos its not needed :pf:
added numericTextCompat
2025-11-03 15:00:28 +00:00
neon443
d8e31178d6 started working on a trie!
thanks @foxmoss
2025-11-03 12:05:04 +00:00
neon443
4b32a9e6ae removed ApiEmoji cos its not used 2025-11-02 20:28:59 +00:00
neon443
5416d35118 add verison config thingy 2025-11-02 08:28:13 +00:00
neon443
5c81d90039 re-add app groups to the new target 2025-11-01 22:29:38 +00:00
neon443
1c618529be change to StickerSlack
fix build num
2025-11-01 22:00:38 +00:00
neon443
9c24b3e0bf YES IT WORKED!!!
now we dont touch StickerSlackiMessageApp/Assets.xcassets
2025-11-01 21:10:13 +00:00
neon443
a37e655855 plsplsplspls 2025-11-01 20:57:30 +00:00
neon443
f572d0f293 remade the imessageextension
updated recticon
2025-11-01 15:08:57 +00:00
neon443
64771a32e7 maybe fix 2025-11-01 14:31:57 +00:00
neon443
783d731077 encryption export compliance 2025-10-31 23:42:56 +00:00
neon443
1f9cfcfc1a merge the asset catalogs
rename a test
2025-10-31 23:40:12 +00:00
neon443
a1a15c9cb8 added a delete all images button
some other stuff
2025-10-31 16:23:05 +00:00
neon443
bf3ac0eb3b added deleteAllStickers
fix crash when the uiimage isnt valid
swift 6 in the messages extension
added fakedownloadallstickers test
added deleteallimages test
2025-10-31 15:57:40 +00:00
neon443
be22370ec0 finally wrote a funcitonal good test!!!!
added undownloadedemojisbefore unused atm
using a withThrowingDiscardingTaskGroup with a task limit
    task limit: max tasks is cores-1
    every tiem a task is added taskcount+=1
    every tiem it finishes taskcount -= 1
    if active tasks> maxtasks wait until i > what it was before
        reduce activetasks by one

deleting images in pass 2
guard that it was downloaded before
basic async cos i cba atp
doThing wiht inout i to increment
    itll download the image and make sure its not already downloaded etc
2025-10-30 23:15:28 +00:00
neon443
dd02d5ca80 added validat() to MSSticker via an extension
added a button to validate them
wrote sticker validation test
wrote sticker validation performance test
2025-10-30 21:55:22 +00:00
neon443
3bd0892d42 fix "alpha channel" 2025-10-30 20:26:30 +00:00
neon443
c974e8136b async let to parallelise stuff
fix crash when the fetched db doesnt exist
added loadremoteDB to asyncly fetch remotedb
fixed Tasks not running on background threads
remove expiration from slackresponse
emoji.uiid starts out as emoji.id
added filtering emojis test
hopefully optimised the display of images checking if its local
imessage extension ios 15+
remove the "hii!!" and "hello world" from the emojji picker
2025-10-30 19:44:59 +00:00
neon443
b738a06835 95% faster local image url getting
added localImageURL() test
2025-10-30 15:33:31 +00:00
neon443
780e66ce0d added resources folder 2025-10-30 15:32:25 +00:00
neon443
4ab2ee8b98 better performance in stickerbroswer
Emoji.sticker can return nil
added tests to measure .sticker perfomance
delete redundant stickerbrowserviewcontroller
2025-10-29 22:48:26 +00:00
neon443
495abb99b4 the emojipicker works!
added stickerbrowserdatasorce to give msstickerbrowserview stikcers
update messagesviewcontroller to add the msstickerbrowser
added Emoji.sticker to get MSSticker from Emoji
2025-10-29 22:19:57 +00:00
neon443
98df6d776b added filter categories 2025-10-29 20:16:21 +00:00
neon443
002fc21308 async loading of the remote emoji database
- load the local one first
 - async task to load the remote db and if it succeeds overwrite the local db and load the remote one

emoiji.localimageurl is now a computed propery
 - need to fix the fact that the file extension is not known 😭

fetchRemoteDB automatically stores the db lcoally after fetching
add storeDB(data: Data) to store the db from a data form
Emoji.uiID is generated automatically
fix hoarder.localEmojiDB path

imessage extension scheme??
2025-10-29 16:29:35 +00:00
neon443
20e4e8a2c7 remove testData.json 2025-10-29 15:24:05 +00:00
neon443
31321865e9 added search
added emojipack, currently unused
using the cahcet id in emoji
2025-10-28 16:31:31 +00:00
neon443
f4ab22a789 refactored to storeDB loadLocalDB and fetchRemoteDB for more readability
added more stuff to slackresponse cos cachets got some cool stuff
guards on toEmojis and it can take in and return nil
2025-10-27 20:30:26 +00:00
neon443
2ddcd49ad0 yay okay ui is state-ing
added swipe actions to delete local image
slow, but i think i can fix it??
switch to gh neon443/Haptics
2025-10-24 00:01:14 +02:00
neon443
bc0b46a6df added Emoji.isLocal to check if the emoji is stored 2025-10-23 21:12:40 +02:00
neon443
4ed5695f4a updated downloadImage()
- to use cached local version if available
 - now writes to disk if not already saved

rewrote toEmojis() just a simple map of ApiEmoji($0).toEmoji()
use the new toEmojis in emojiHoarder

now the emojiDB gets stored locally, need to make it fetch it if it can cos cache cant be valid forever yk

using neon443/Haptics for haptics lol
added a download button
on EmojiPreview, if downloaded a lil download icon shows up, and will show that one instead of AsyncImage
2025-10-23 09:46:53 +01:00
neon443
2841bc2109 add Emoji and old one is now ApiEmoji
added async code to Emoji to load image
added app groups to share files
2025-10-22 15:20:18 +01:00
neon443
95d377de30 minor changes 2025-10-21 22:33:49 +01:00
neon443
a10b7c37dd added sticker count to the corner
ps: finally got proof that ts project will work!!!!!
"The sticker browser presents the stickers provided by its dataSource property. The data source can dynamically change the list of stickers at runtime."
https://developer.apple.com/documentation/messages/msstickerbrowserview#:~:text=The%20data%20source%20can%20dynamically%20change%20the%20list%20of%20stickers%20at%20runtime.
2025-10-20 13:19:07 +01:00
neon443
a3b28a4414 added emojipreview to handle displaying images etc
next: animate when it spawns
revamped image display
remove the image param in Emoji
2025-10-19 17:49:47 +01:00