jam-cloud/web
Nuwan 911a37bec5 fixing state issues of front end recording 2025-04-18 18:15:30 +05:30
..
app fixing state issues of front end recording 2025-04-18 18:15:30 +05:30
bin diable musicians sort by score 2021-12-07 21:35:19 +05:30
config changes to allow joining a seesion without stopping an onging recording 2025-04-02 18:50:37 +05:30
doc
features change database migrations to be natural rails db migrations. 2021-02-13 20:17:18 -06:00
lib code-complete minus a few features 2020-11-29 18:24:28 -06:00
posa add in the AMZ cards 2018-05-01 20:38:57 -05:00
public VRFS-4741 - kill vanilla, bugsnag, olark 2018-04-21 11:33:18 -05:00
script
spec fix not able to delete band 2024-03-09 16:34:21 +05:30
test
vendor protect against uclient 2021-01-04 23:41:49 -06:00
.gitignore more filter parameters to neo4j 2022-02-08 20:55:00 +05:30
.rspec
.ruby-gemset
.simplecov
Gemfile add rack-cors gem to Gemfile 2021-10-22 22:32:06 +05:30
Gemfile.alt add rack-cors gem to Gemfile 2021-10-22 22:32:06 +05:30
Gemfile.lock Create context.JK.isQWebEngine property instead of gon.isQWebEngine 2022-08-01 21:49:33 -05:00
Guardfile
ORIG_LICENSE
README.md customUrl validation 2025-02-06 22:11:01 +05:30
Rakefile change database migrations to be natural rails db migrations. 2021-02-13 20:17:18 -06:00
build change database migrations to be natural rails db migrations. 2021-02-13 20:17:18 -06:00
config.ru
dev_failures.txt * upgrade to Rails 4 as well as support JjamBlaster 2016-07-17 10:16:27 -05:00
install-graph-db.sh fix default install path 2021-05-20 07:05:38 +05:30
jenkins merge conflict from feature/new_session (VRFS-3283) 2015-07-15 10:04:45 -05:00
loop.bash Merge with develop. 2015-06-03 14:22:21 -05:00
migrate.sh Update Affliate Code and Reports to 2021 spec 2021-03-11 19:36:14 -06:00
package.json * VRFS-2855 - broadcast notifications done 2015-06-10 08:26:45 -05:00
posa_cards.rb pin back hamlrails 2017-07-19 07:38:39 -05:00
ruby-bt.txt Merge with develop. 2015-06-03 14:22:21 -05:00

README.md

Jasmine Javascript Unit Tests

Open browser to localhost:3000/teaspoon

Test

##Custom URL Scheme handling

URLs starting as jamkazam:// are considered custom urls that can be used to open up / bring up the JK client program and load a screen or call an internal function.

Let's say a user clicks or submits a from which in turns call a custom URL. For example in the new react web interface, when a session is created using the form in https://beta.jamkazam.com/sessions/new let's say it calls following custom URL

jamkazam://https//www.jamkazam.com/client#/createSession/custom~yes%7Cprivacy~2%7Cdescription~Testing%20session%20creation%20from%20beta%20website%7CinviteeIds~062deeba-b917-46e2-bfa3-e829405ca602

In the JK client this url is passed to the front end by the back end either by

  1. onLoggedIn - This function is been called when the client is loaded (after user login). Used to handled the CustomUrl if the app is not already up and running

  2. asyncJamClient 3012 event - If the app is up and running this event is fired with the CustomUrl

In either case the CustomUrl is stored in the localStorage and handled by the respective function being called.

Currently we have two customUrls

  1. Session create by custom URL - call it using shell by open "jamkazam://www.jamkazam.com/client#/createSession/custom~yes%7Cprivacy~2%7Cdescription~Testing%20session%20creation%20from%20beta%20website%7CinviteeIds~062deeba-b917-46e2-bfa3-e829405ca602"

  2. Join to an existing session open "jamkazam://www.jamkazam.com/client#/joinSession/custom~yes%7CsessionId~3190c211-f741-47d1-9171-05cf8df020d0"