-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PR: Phoenix
LiveView
Drag-and-Drop Example
#5
Commits on Oct 19, 2022
-
Run the current examples with node Add lock package file to gitignore
Configuration menu - View commit details
-
Copy full SHA for 71872ab - Browse repository at this point
Copy the full SHA 71872abView commit details
Commits on Oct 21, 2022
-
- Create new phx app - Add Tailwind to the phoenix application
Configuration menu - View commit details
-
Copy full SHA for c4f9743 - Browse repository at this point
Copy the full SHA c4f9743View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15114b5 - Browse repository at this point
Copy the full SHA 15114b5View commit details
Commits on Oct 22, 2022
-
Downgrade Tailwind to use 3.1.8 version
- hotreload doesn't seem to work with 3.2 so using 3.1.8
Configuration menu - View commit details
-
Copy full SHA for 0544367 - Browse repository at this point
Copy the full SHA 0544367View commit details -
Add alpine.js cdn in root file Create button using Alpine to test everything still ok
Configuration menu - View commit details
-
Copy full SHA for dd85ede - Browse repository at this point
Copy the full SHA dd85edeView commit details -
Use phx.gen.live to create items
Create item schema using phx.gen.live
Configuration menu - View commit details
-
Copy full SHA for 17f712e - Browse repository at this point
Copy the full SHA 17f712eView commit details
Commits on Oct 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 63c7d80 - Browse repository at this point
Copy the full SHA 63c7d80View commit details -
Create automatically index for item
Create index when new item created
Configuration menu - View commit details
-
Copy full SHA for 784ab99 - Browse repository at this point
Copy the full SHA 784ab99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 38ccca8 - Browse repository at this point
Copy the full SHA 38ccca8View commit details
Commits on Oct 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 01091a4 - Browse repository at this point
Copy the full SHA 01091a4View commit details -
Implement drag and drop with vanilla js
First attempt at drag and drop with vanilla js version
Configuration menu - View commit details
-
Copy full SHA for 15cd7a0 - Browse repository at this point
Copy the full SHA 15cd7a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for eeba5be - Browse repository at this point
Copy the full SHA eeba5beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43ae038 - Browse repository at this point
Copy the full SHA 43ae038View commit details -
Define dragstart and dragend events with alpine
Set background color when an element is moved
Configuration menu - View commit details
-
Copy full SHA for 2338f73 - Browse repository at this point
Copy the full SHA 2338f73View commit details
Commits on Oct 26, 2022
-
First Alpine.js drag and drop version
Use Alpine.js to drag and drop an item in a list
Configuration menu - View commit details
-
Copy full SHA for 564d4ce - Browse repository at this point
Copy the full SHA 564d4ceView commit details -
Add PubSub to notify clients for new item_live
Use PubSub to listen for the :item_created event
Configuration menu - View commit details
-
Copy full SHA for 62447c9 - Browse repository at this point
Copy the full SHA 62447c9View commit details -
Use Hook to send event from client to LiveView
When items are sorted (drag and drop finished) send event to the LiveView to update the indexes
Configuration menu - View commit details
-
Copy full SHA for 5f24e67 - Browse repository at this point
Copy the full SHA 5f24e67View commit details -
Update indexes and notify clients of new order
Configuration menu - View commit details
-
Copy full SHA for b3b4db2 - Browse repository at this point
Copy the full SHA b3b4db2View commit details -
Show drag and drop live on all clients
- Highlight when an item is currently dragged on all clients - Move items on all clients - Update indexes
Configuration menu - View commit details
-
Copy full SHA for ea93452 - Browse repository at this point
Copy the full SHA ea93452View commit details
Commits on Oct 29, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 9595d9c - Browse repository at this point
Copy the full SHA 9595d9cView commit details -
Add initialisation documentation
Create documentatio on how to setup a new Phoenix application using Tailwind, Petal components and Alpine.js
Configuration menu - View commit details
-
Copy full SHA for 589450f - Browse repository at this point
Copy the full SHA 589450fView commit details
Commits on Oct 30, 2022
-
Update drag-and-drop documentation - Update templates to use Petal components - Update liveView to handle close modal event - Update tasks function to save index for item and order by index
Configuration menu - View commit details
-
Copy full SHA for 19c1f6a - Browse repository at this point
Copy the full SHA 19c1f6aView commit details
Commits on Oct 31, 2022
-
Add doc for real time UI update when a new item is created
Configuration menu - View commit details
-
Copy full SHA for ffd37a6 - Browse repository at this point
Copy the full SHA ffd37a6View commit details -
Describe how to implement the hightligh for the selected items during drag-and-drop
Configuration menu - View commit details
-
Copy full SHA for 3ce989f - Browse repository at this point
Copy the full SHA 3ce989fView commit details -
Save indexes and dispatch drag-and-drop to clients
Configuration menu - View commit details
-
Copy full SHA for 6ab7cbe - Browse repository at this point
Copy the full SHA 6ab7cbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ac01bb - Browse repository at this point
Copy the full SHA 4ac01bbView commit details -
- remove unused Alpine.js x-daat value - remove console.log - add link in Readme to drag-and-drop.md
Configuration menu - View commit details
-
Copy full SHA for 163b5f9 - Browse repository at this point
Copy the full SHA 163b5f9View commit details
Commits on Nov 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for dfcebaa - Browse repository at this point
Copy the full SHA dfcebaaView commit details -
Remove Tailwind and Petal Components to make the setup easier.
Configuration menu - View commit details
-
Copy full SHA for ee7c2ce - Browse repository at this point
Copy the full SHA ee7c2ceView commit details -
Read again the doc and make it easier to follow/implement
Configuration menu - View commit details
-
Copy full SHA for 5bd6e18 - Browse repository at this point
Copy the full SHA 5bd6e18View commit details
Commits on Nov 2, 2022
-
Update code to match the one in drag-and-drop.md
Update Phoenix app code to match the one describe in the markdown documentation
Configuration menu - View commit details
-
Copy full SHA for 1144e64 - Browse repository at this point
Copy the full SHA 1144e64View commit details
Commits on Nov 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 863a8ce - Browse repository at this point
Copy the full SHA 863a8ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 70d41be - Browse repository at this point
Copy the full SHA 70d41beView commit details