profile
viewpoint
Kevin Li ThasianX @teslamotors Los Angeles, CA Thasianx.github.io Freshman at OSU. Fail early, fail often, fail forward

ThasianX/ElegantTimeline-SwiftUI 422

Elegant demonstration of a multi-faceted timeline view with interactions between the calendar, list, and app theme.

ThasianX/ElegantCalendar 100

The elegant full screen calendar missed in SwiftUI.

ThasianX/DivRise 44

Visualize your dividend growth. DivRise tracks dividend prices of your stocks, gives you in-depth information about dividend paying stocks like the next dividend date and allows you to log your monthly dividend income.

ThasianX/Foldable-And-Expandable-List-SwiftUI 41

Demonstration of how to add simultaneous animations of folding and expanding cells while scrolling

ThasianX/ElegantPages 19

The elegant full screen page view missed in SwiftUI

ThasianX/ElegantColorPalette 18

The elegant color picker missed in UIKit and SwiftUI

DuetHealth/DrX 8

The Rx doctor is in the house, curing all your ailments with simple-yet-expressive operators and extensions. Includes Cocoa Touch support!

DuetHealth/Gooey 7

UIKit extensions and helpers to make everyday iOS development simpler.

DuetHealth/Bedrock 5

What's deeper than the foundation?

DuetHealth/Cordate 4

Give dates a special place in your ❤️

push eventThasianX/TypeScript-Leetcode-Solutions

Kevin Li

commit sha 35868d98be1f815439117b197975b20b3f646ee6

UniqueEmailAddresses.ts

view details

push time in a day

startedairbnb/visx

started time in 2 days

issue closedThasianX/ElegantCalendar

Incorrent week days in regions with first week day other than sunday

I am a new user user to ElegantCalendar, but I have noticed that the legend for week days don't match the actual week day of dates. In my region monday is the first day of the week, but on top of the calendar it still shows "S M T W T F S", but it should show "M T W T F S S" as the days are shown in the correct "column" (monday is first in this case).

ElegantCalendar

closed time in 3 days

MatoC9

issue commentThasianX/ElegantCalendar

Incorrent week days in regions with first week day other than sunday

Thanks for pointing this out! Just fixed this on the latest release. Let me know if it works for you

MatoC9

comment created time in 3 days

release ThasianX/ElegantCalendar

4.3.1

released time in 3 days

created tagThasianX/ElegantCalendar

tag4.3.1

The elegant full screen calendar missed in SwiftUI.

created time in 3 days

push eventThasianX/ElegantCalendar

Kevin Li

commit sha c3720484aef41aaf12cdee2d21a85dfed9a07498

Fixed incorrect weekday symbols for nongregorian calendars

view details

push time in 3 days

push eventThasianX/TypeScript-Leetcode-Solutions

Kevin Li

commit sha f924436894bee657b79fed78ce59ac898841b3c2

Added UnivaluedBinaryTree.ts

view details

push time in 3 days

push eventThasianX/TypeScript-Leetcode-Solutions

Kevin Li

commit sha bfdf330e407abbc2220700a76ed63e8bdb04eb07

Added MiddleOfTheLinkedList.ts

view details

push time in 3 days

push eventThasianX/TypeScript-Leetcode-Solutions

Kevin Li

commit sha b99ee80cc45358e24c69d4f5fae687f0dfe4a8ac

Added MaximumDepthOfN-AryTree.js

view details

push time in 5 days

issue closedThasianX/ElegantCalendar

Does this calendar support JSON?

Very nice calendar... Wondering if I can replace the events on days (You have them as Apple) with a JSON Payload from an API?

closed time in 8 days

isaachballas

issue commentThasianX/ElegantCalendar

Does this calendar support JSON?

Yep you can. there's a datasource method in which you pass in your custom view. just have your custom view consume your json payload

isaachballas

comment created time in 8 days

startediCHAIT/awesome-macOS

started time in 10 days

push eventThasianX/TypeScript-Leetcode-Solutions

Kevin Li

commit sha b0ed56289acc6dead28caa4dc90acaa7bd78743a

Added TheKWeakestRowsInAMatrix.ts

view details

push time in 10 days

push eventThasianX/TypeScript-Leetcode-Solutions

Kevin Li

commit sha 81e4ca64e673008d84fdcc7a50255fad02412940

Added RemoveAllAdjacentDuplicatesInString.ts

view details

push time in 14 days

issue commentThasianX/ElegantCalendar

Basic usage not work

You're missing an endDate property

matteocelani

comment created time in 15 days

issue closedThasianX/ElegantCalendar

Collapse to week

Hi, would it be possible to collapse the calendar view to see only the week instead of the whole month? This way there would be more space for content. Something similar to this from FSCalendar: image

Thank you

closed time in 15 days

fer112233

issue commentThasianX/ElegantCalendar

Collapse to week

It's possible but it would take a lot of labor to write the code for that. When I initially wrote the library, I didn't think of adding flexibility to the actual calendar view component. There's a lot of flexibility in the custom view component however.

fer112233

comment created time in 15 days

push eventThasianX/TypeScript-Leetcode-Solutions

Kevin Li

commit sha 221d58f49e3f1585485ef24c48fa9d5c69fc656c

Added SortArrayByParityII.ts

view details

push time in 17 days

push eventThasianX/TypeScript-Leetcode-Solutions

Kevin Li

commit sha f8f7bcf8d9e0628a469ed98b016b77f124afaf4b

Added ReverseWordsInAStringIII.ts

view details

push time in 18 days

push eventThasianX/TypeScript-Leetcode-Solutions

Kevin Li

commit sha df50110ba9e11722895e62d4f347d8368c94c2ae

Added SquaresOfASortedArray.ts

view details

push time in 19 days

startedjhen0409/react-native-debugger

started time in 20 days

push eventThasianX/TypeScript-Leetcode-Solutions

Kevin Li

commit sha b3ae525133c2d9d2b926255944cf9040c02e6d47

Added N-aryTreePreorderTraversal.js

view details

push time in 21 days

push eventThasianX/TypeScript-Leetcode-Solutions

Kevin Li

commit sha ae6252405d99a33fc3efe7d405d087e8140b6767

Added N-aryTreePostorderTraversal.js

view details

push time in 21 days

push eventThasianX/TypeScript-Leetcode-Solutions

Kevin Li

commit sha 720e11b08ce59e0002c97c887cf5751be4f71e5b

Added DIStringMatch.ts

view details

push time in 21 days

push eventThasianX/TypeScript-Leetcode-Solutions

Kevin Li

commit sha f24c8355e08be8b413d0a491465441040d36c915

added HammingDistance.ts

view details

push time in 22 days

push eventThasianX/TypeScript-Leetcode-Solutions

Kevin Li

commit sha 9d4602a19907cc8aa26e37fd309ed7785e4b876c

Added SearchInABinarySearchTree.ts

view details

push time in 23 days

push eventThasianX/TypeScript-Leetcode-Solutions

Kevin Li

commit sha 4ff982bb54e4b380fd8908f6dcbf160654fac07a

added MergeTwoBinaryTrees.ts

view details

push time in 23 days

issue commentThasianX/ElegantCalendar

Missing Calendar

Yep.

frios

comment created time in a month

issue closedThasianX/ElegantCalendar

Missing Calendar

Have you seen any issues when using 2 MonthlyCalendars in a single app? I am using one instance for schedule data and a separate instance with its own data and behavior for event data. When I do this both calendars disappear. As soon as I comment out one of the calendars, then the other works properly. Screen Shot 2020-08-22 at 6 20 39 PM

closed time in a month

frios

issue commentThasianX/ElegantCalendar

Missing Calendar

That's pretty weird... But hey, at least u got it working!

frios

comment created time in a month

issue closedThasianX/ElegantCalendar

Minimum deploy target

Hi, I was worrying if there's a way to use this calendar for lower versions of iOS such as 11.4 or at least 12 instead of 13 (even though the major part of iOS user are above 13, there are some still in 12. Thanks beforehand.

closed time in a month

hectorhm98

issue commentThasianX/ElegantCalendar

Minimum deploy target

Nope. iOS 13 > only. I wouldn’t worry about 12 by it’s like 6% of users on that

hectorhm98

comment created time in a month

startedgodotengine/godot

started time in a month

startednvm-sh/nvm

started time in a month

startednijicha/install_nodejs_and_yarn_homebrew

started time in a month

startedlerna/lerna

started time in a month

push eventThasianX/TypeScript-Leetcode-Solutions

Kevin Li

commit sha 94813355ec4347fc4f0a1cdb7a5989f6af751697

added SortArrayByParity.ts

view details

push time in a month

push eventThasianX/TypeScript-Leetcode-Solutions

Kevin Li

commit sha 7cba0b0bfc98ff48510906bb9e8d3303a64126b2

Added FlippingAnImage.ts

view details

push time in a month

push eventThasianX/TypeScript-Leetcode-Solutions

Kevin Li

commit sha ca95e780f2a32f1c6726bd6d0cc614812e46733f

added RangeSumOfBST.ts

view details

push time in a month

push eventThasianX/TypeScript-Leetcode-Solutions

Kevin Li

commit sha b4875f6952e3454161a1faee197a919ed5933fca

Added NumberOfStepsToReduceANumberToZero

view details

push time in a month

push eventThasianX/TypeScript-Leetcode-Solutions

Kevin Li

commit sha 8709b29c87bd506d19c1abb8714e00876c56d442

added jewelsandstones

view details

push time in a month

push eventThasianX/TypeScript-Leetcode-Solutions

Kevin Li

commit sha 2c59530246620fa730585fff2b405ba54c8f902b

added twosum

view details

push time in a month

push eventThasianX/TypeScript-Leetcode-Solutions

Kevin Li

commit sha d944728a59a4f993b233a9a0b14e6f4ba88a20a8

added twosum

view details

push time in a month

create barnchThasianX/TypeScript-Leetcode-Solutions

branch : master

created branch time in a month

created repositoryThasianX/TypeScript-Leetcode-Solutions

created time in a month

issue commentThasianX/ElegantCalendar

Missing Calendar

Oh shit... it’s probably the way I designed the constants. Didn’t think of that use case. I have my hands full rn but the fix is pretty simple. In your own fork, you could create different CalendarConstants for different calendars. Right now, both calendars are interfering with the same static calendar setting

frios

comment created time in a month

issue closedThasianX/ElegantCalendar

Wrong layout when use with UIKit

Try to use Calendar with UIKit and I see a lot of artefacts,

For example year calendar, Screenshot 2020-08-22 at 19 05 35

Padding from top and bottom 100 points, Month name is cut Months in two columns

Similar with month calendar, Screenshot 2020-08-22 at 19 09 07

Month name out of frame around 100 points. Content is cut too

closed time in a month

sglushchenko

issue commentThasianX/ElegantCalendar

Wrong layout when use with UIKit

Not meant to be used with uikit

sglushchenko

comment created time in a month

issue closedThasianX/ElegantCalendar

@State variable not updated in func calendar(didSelectDay date: Date)

First, thank you for the beautiful calendar.

I have a @State variable declared as

@State var selectedDate : Date = Date()

I attempt to change that as follows

func calendar(didSelectDay date: Date) { self.selectedDate = date print(selectedDate) }

The variable is never updated even though it goes through the code and no error is reported. Any ideas?

closed time in a month

frios

issue commentThasianX/ElegantCalendar

@State variable not updated in func calendar(didSelectDay date: Date)

I would use the currentmonth property of the observable object

frios

comment created time in a month

issue closedThasianX/ElegantCalendar

Any programmatic way to tighten up the vertical white space?

I would like to tighten up some of the vertical whitespace between rows a bit, particularly for smaller devices. Its a beautiful layout as is, but on smaller devices, it does not leave much room for the aux view at the bottom.

Is there any programmatic way to do that? i tried changing the frame height of the MonthlyCalendar view, but that just gave me weird results.

What am I missing?

closed time in a month

frios

issue commentThasianX/ElegantCalendar

Any programmatic way to tighten up the vertical white space?

Once again, you would have to fork. The original intentions of this were for full screen calendars so I will have to fine tune it yourself

frios

comment created time in a month

issue closedThasianX/ElegantCalendar

Any way to move the calendar up the screen?

Body of view:

var body: some View { MonthlyCalendarView(calendarManager: calendarManager) .theme(CalendarTheme(primary: Color.mFoodColor)) .allowsHaptics(true) .horizontal() // .offset(x: 0.0, y: -50.0) .navigationTitle("Schedule") }

Screen Shot 2020-08-20 at 5 16 43 PM

There is a big whitespace above the Month name. I have tried adding Spacer() in various places. The only way I have been able to change this is to use the .offset that is commented out in the above code.

Are there better ways to correct this?

closed time in a month

frios

issue commentThasianX/ElegantCalendar

Any way to move the calendar up the screen?

I would fork master and edit the monthview such that the content is centered to ur needs

frios

comment created time in a month

startedromkatv/powerlevel10k

started time in a month

startedmaustinstar/liquid

started time in a month

issue openedmeedan/react-native-share-menu

Custom View doesn't show on iOS despite proper configuration

Relevant repository: https://github.com/ThasianX/YoutubeToSpotify-React-Native/tree/feature/react-native-share-menu

It's hard to pinpoint the issue because I'm getting no errors from the console or XCode. It builds the index.share.js component fine it doesn't display it. I would appreciate it if anyone could just clone the repository and try debugging what is causing the issue.

created time in a month

push eventThasianX/YoutubeToSpotify-React-Native

Kevin Li

commit sha b0b2cdbdb94bdbafef099b2ba13f91a78df58812

added share ext files

view details

push time in a month

push eventThasianX/YoutubeToSpotify-React-Native

Kevin Li

commit sha c807ed80a12f162ad7eaefef9dccf1e688b8bec5

now rendering an empty view for the share extension

view details

push time in a month

push eventThasianX/YoutubeToSpotify-React-Native

Kevin Li

commit sha df817ba1d7b537424164b789218a4f896bfa5874

added reactshareVC and bg color to info plist

view details

push time in a month

startedwcandillon/can-it-be-done-in-react-native

started time in a month

push eventThasianX/YoutubeToSpotify-React-Native

Kevin Li

commit sha df9a79f658077aff41f6022963df8d83754fd3b2

added intent code

view details

Kevin Li

commit sha 09ad2e9cb46cd6253b544d01ec904e071d2a47a1

got the share extension working albeit it shows the ios default view

view details

push time in a month

create barnchThasianX/YoutubeToSpotify-React-Native

branch : feature/share-extension

created branch time in a month

delete branch ThasianX/YoutubeToSpotify-React-Native

delete branch : feature/expo-eject

delete time in a month

push eventThasianX/YoutubeToSpotify-React-Native

Kevin Li

commit sha b37790d392cc0a54dcdbf49d7546f6c164bb8cdf

updated expo

view details

Kevin Li

commit sha 16223ed3ff96f44128d6310fc8e43a755652f2bd

ejected expo

view details

Kevin Li

commit sha 43ad11f58191776f3a39556cbc029a366cea07ab

got authsession working

view details

Kevin Li

commit sha 1143a9cda3a9b94f73c8d49454fdce8d09391e19

configured codesigning

view details

Kevin Li

commit sha 35b9bbf46e5404a3a37d40af60b3b1f773eddac9

fixed errors

view details

Kevin Li

commit sha d35ec996adff6a92d9d84be1ad653b43ba701b7a

Merge pull request #6 from ThasianX/feature/expo-eject Feature/expo eject

view details

push time in a month

push eventThasianX/YoutubeToSpotify-React-Native

Kevin Li

commit sha 35b9bbf46e5404a3a37d40af60b3b1f773eddac9

fixed errors

view details

push time in a month

push eventThasianX/YoutubeToSpotify-React-Native

Kevin Li

commit sha 1143a9cda3a9b94f73c8d49454fdce8d09391e19

configured codesigning

view details

push time in a month

create barnchThasianX/YoutubeToSpotify-React-Native

branch : feature/expo-eject

created branch time in a month

delete branch ThasianX/YoutubeToSpotify-React-Native

delete branch : feature/expo-eject

delete time in a month

create barnchThasianX/YoutubeToSpotify-React-Native

branch : feature/expo-eject

created branch time in a month

delete branch ThasianX/YoutubeToSpotify-React-Native

delete branch : feature/try-catch

delete time in a month

push eventThasianX/YoutubeToSpotify-React-Native

Kevin Li

commit sha e3e08d9da86c6d8efed9d47e68ce5246b223e695

improved catch logic

view details

Kevin Li

commit sha 212da21ad38b8f205b08355cbb649d9522c9aff3

Merge pull request #5 from ThasianX/feature/try-catch improved catch logic

view details

push time in a month

push eventThasianX/YoutubeToSpotify-React-Native

Kevin Li

commit sha e3e08d9da86c6d8efed9d47e68ce5246b223e695

improved catch logic

view details

push time in a month

create barnchThasianX/YoutubeToSpotify-React-Native

branch : feature/try-catch

created branch time in a month

delete branch ThasianX/YoutubeToSpotify-React-Native

delete branch : feature/alert

delete time in a month

push eventThasianX/YoutubeToSpotify-React-Native

Kevin Li

commit sha 9322c283d299781aa1950c7cc18433faa6f94a71

fixed font size for alert

view details

Kevin Li

commit sha 3b24407e449cc4ea7c2f9bfd74a348e360da6db6

Merge pull request #4 from ThasianX/feature/alert fixed font size for alert

view details

push time in a month

delete branch ThasianX/YoutubeToSpotify-React-Native

delete branch : bugfix/auth

delete time in a month

push eventThasianX/YoutubeToSpotify-React-Native

Kevin Li

commit sha 9322c283d299781aa1950c7cc18433faa6f94a71

fixed font size for alert

view details

push time in a month

create barnchThasianX/YoutubeToSpotify-React-Native

branch : feature/alert

created branch time in a month

push eventThasianX/YoutubeToSpotify-React-Native

Kevin Li

commit sha fb9ba9ae9ef48502876e81da5866a27d35d2478b

fixed a bug where some reducers were being cached when they shouldn't all because of a typo.

view details

Kevin Li

commit sha 7c2a2c4cd832f0aa5d08956784fbdebdc82e231d

fixed the auth bug where the data refresh wasn't actually dispatching an action cuz of a TYPO. i've also made it so that the data refresh gets called first before any other actions occur

view details

Kevin Li

commit sha e1f62913537208cc7913c37c137f56b5f6f875f8

added auth data checks for every other spotify request

view details

Kevin Li

commit sha 39f54e25f25e2a35623bf0d3d8b18185d322c253

Merge pull request #3 from ThasianX/bugfix/auth Bugfix/auth

view details

push time in a month

push eventThasianX/YoutubeToSpotify-React-Native

Kevin Li

commit sha e1f62913537208cc7913c37c137f56b5f6f875f8

added auth data checks for every other spotify request

view details

push time in a month

push eventThasianX/YoutubeToSpotify-React-Native

Kevin Li

commit sha 7c2a2c4cd832f0aa5d08956784fbdebdc82e231d

fixed the auth bug where the data refresh wasn't actually dispatching an action cuz of a TYPO. i've also made it so that the data refresh gets called first before any other actions occur

view details

push time in a month

create barnchThasianX/YoutubeToSpotify-React-Native

branch : bugfix/auth

created branch time in a month

delete branch ThasianX/YoutubeToSpotify-React-Native

delete branch : feature/panning

delete time in a month

push eventThasianX/YoutubeToSpotify-React-Native

Kevin Li

commit sha d48ab2e600fac33316b02dcf77e32805bbfc4ab1

added panresponder to the modal view

view details

Kevin Li

commit sha 884b0cc70f318ef04e8d4b65ac0abfde52cba010

perfected the modal. opacity of background responsibility now shifted over to the modal view.

view details

Kevin Li

commit sha 4357bc99ec1035827205bc04ae762b1f71cc5d2d

refined syntax

view details

Kevin Li

commit sha a9dcbcbaf89a2706547bcc5f6a2b3596e606aec1

Merge pull request #2 from ThasianX/feature/panning Feature/panning

view details

push time in a month

push eventThasianX/YoutubeToSpotify-React-Native

Kevin Li

commit sha 4357bc99ec1035827205bc04ae762b1f71cc5d2d

refined syntax

view details

push time in a month

push eventThasianX/YoutubeToSpotify-React-Native

Kevin Li

commit sha 884b0cc70f318ef04e8d4b65ac0abfde52cba010

perfected the modal. opacity of background responsibility now shifted over to the modal view.

view details

Kevin Li

commit sha 3978b934fee5501af4d3b3951b424518c99ed258

refined syntax

view details

push time in a month

more