Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* code-editor init * Refactor assembleCode and parseAndDisplayData functions - Separate agregore's basic CSS and user's CSS in assembleCode - Update CSS extraction logic to exclude the display of agregore theme CSS in the code-editor * make spinner round * Refactor fetchButton event listener into fetchFromDWeb function - Refactor button event listener to its own fetchFromDWeb function - Add protocol detection so that users paste their CID with the protocol prefix - Removes the dependency on a separate protocol selector. - Improves the code's modularity and user input handling by directly - Detects whether the URL starts with 'ipfs://' or 'hyper://', and alerts the user for invalid protocols. * Enhance URL Display with Inline Copy-to-Clipboard Feature - Refactoring of the addURL function to improve UX - Adds a 20x20 copy to clipboard icon that loads `var(--ag-theme-primary)` as fill color - Implements a copy-to-clipboard functionality for quick sharing of the code's URL - The Function temporarily replaces the SVG with a "Copied!" message upon successful copy, reverting back to the original SVG after 3 seconds. These enhancements contribute to a more interactive and user-friendly interface. Streamlines the process of copying URLs directly from the displayed list. * Refactor HTML for dweb fetch and upload containers * Switch to secondary colour for bigger visual impact * Improve alignment for dweb container's children elements * Add media query for mobile devices * Split script script.js into modules; dweb, code editor and common functions * Load new js files in index * Update code editor layout * Update protocol labels and button text * Add responsive layout for mobile devices on uploadand fetch buttons * Update code editor layout by moving list at the bottom * Refactor code editor styles and improve responsiveness * Remove script.js * Update script imports in index.html * Remove console.log statements in parseAndDisplayData function * Refactor code editor event listeners and remove unused code * Add Tutorial (v1) for code editor app * Update code editor styles, replace bottom margin with gap * Improve comments for clarity * Code Editor Retrospective v0.0.1 * Fix typo, explain jsfiddle and codepen * Consolidate achievements and reduce repetition * Rename code editor tutorial, move to docs/tutorials/ * Fix broken link * Add link to p2pad's final working version * Remove duplicates
- Loading branch information