0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-05-08 14:18:40 +00:00
Commit Graph

636 Commits

Author SHA1 Message Date
Trevor Buckner ef207c3936 Fix "onbeforeunload not a function"
should be window.onbeforeunload = xyz. However in this case, it's not needed anyway since we are only adding the event listener once on page load, which already gets cleared when you reload the page.
2026-04-19 15:18:31 -04:00
G.Ambatte be2484d807 Switch to HashChange event listener 2026-04-13 18:12:28 +12:00
G.Ambatte 86f8898ee4 Check if Navigation API exists, use setInterval if not 2026-04-12 18:24:41 +12:00
G.Ambatte 01a9950d7c Remove unnecessary console.log 2026-04-05 21:41:39 +12:00
G.Ambatte af98694e48 Experimental fix for broken internal document links 2026-04-05 21:16:23 +12:00
Trevor Buckner 67b4d3b760 Revert "Embed Endpoint" 2026-04-04 21:15:57 -04:00
David Bolack 16bfffe78f I need extra eyes. 2026-03-28 18:29:15 -05:00
David Bolack e61556e43b I feel like there is a cleaner way to handle this, but this embeds as desired and it doesn't blink 2026-03-28 15:24:49 -05:00
db ca160d7d83 Start adding new class 2026-03-28 13:44:43 -05:00
David Bolack a1d56fe5d3 WIP 2026-03-19 19:35:05 -05:00
David Bolack fe0f0c56af Merge branch 'master' into HTMLDownload 2026-03-16 10:39:14 -05:00
David Bolack 1f7662adb7 Merge branch 'master' into HTMLDownload 2026-02-27 09:59:13 -06:00
Víctor Losada Hernández c096014871 shared folder (for markdown.js and helpers 2026-02-25 18:40:50 +01:00
Víctor Losada Hernández d0265a9978 shared styles to alias 2026-02-25 18:30:44 +01:00
Víctor Losada Hernández 1d98ec9704 Revert "this doesn't seem to be needed, lets try"
This reverts commit 43ac4f0e0e.
2026-02-24 22:52:30 +01:00
Víctor Losada Hernández 43ac4f0e0e this doesn't seem to be needed, lets try 2026-02-24 22:40:14 +01:00
Víctor Losada Hernández d1d89d033e Merge branch 'master' of https://github.com/naturalcrit/homebrewery into vitreum-to-vite 2026-02-24 20:52:48 +01:00
Víctor Losada Hernández 4691817c88 last touches in toolbar 2026-02-20 10:59:39 +01:00
Víctor Losada Hernández 36e6797c09 fix tooltip overflow in toolbar 2026-02-19 14:22:48 +01:00
Víctor Losada Hernández fc44629842 tooltips instead of title attrib(not sure if good idea) 2026-02-19 14:13:51 +01:00
Víctor Losada Hernández a209538fc6 Merge branch 'master' of https://github.com/naturalcrit/homebrewery into vitreum-to-vite 2026-02-18 23:28:56 +01:00
David Bolack f16c8b7663 Add /embed endpoint
This duplicates the share endpoint. It uses the Share Page template
with a boolean for share vs embed to toggle displaying the navbar
and toolbar.

Added a showToolbar property to brewRender to toggle... showing
the toolbar.
2026-02-06 18:01:53 -06:00
Víctor Losada Hernández 34e3c67254 remove log 2026-02-03 22:54:20 +01:00
Altair 98a560bd8b Replace deprecated @-moz-document with @supports for the Firefox column break fix
Co-authored-by: Víctor Losada Hernández <5ecleric.naturalcrit@gmail.com>
2026-02-03 22:52:12 +03:00
Víctor Losada Hernández b936546392 import all correct css in the frame 2026-02-02 12:07:12 +01:00
Víctor Losada Hernández 3f26e0fcbc fix import again 2026-02-02 11:41:04 +01:00
Víctor Losada Hernández f6011b63db fix brewrenderer less toolbar 2026-02-02 11:37:47 +01:00
Víctor Losada Hernández 2534f23c24 fixing css 2026-02-02 00:04:23 +01:00
Víctor Losada Hernández b5598ac423 trying to get this to work 2026-02-01 20:37:09 +01:00
Víctor Losada Hernández 3e76046868 Revert "renamed client to src"
This reverts commit c28736bd01.
2026-02-01 17:36:53 +01:00
Víctor Losada Hernández c28736bd01 renamed client to src 2026-02-01 17:34:50 +01:00
Altair b30e44325e Fix (kinda) Firefox column breaks 2026-02-01 00:39:17 +03:00
Víctor Losada Hernández 2813ff8972 fix two imports 2026-01-30 12:44:53 +01:00
Víctor Losada Hernández 4e6c3add5b change imports 2026-01-24 01:10:51 +01:00
Víctor Losada Hernández 852510c93a more imports 2026-01-24 00:49:37 +01:00
Víctor Losada Hernández 3c3d29739a Merge branch 'master' of https://github.com/naturalcrit/homebrewery into vitreum-to-vite 2026-01-24 00:39:57 +01:00
Víctor Losada Hernández 9d03385a13 change imports 2026-01-24 00:29:15 +01:00
Víctor Losada Hernández 2f19b7658c dedent-tabs to dedent 2026-01-23 19:10:56 +01:00
Víctor Losada Hernández d6b763e62d update import paths 2026-01-23 18:44:51 +01:00
Víctor Losada Hernández dbeff56ffa change legacy snippets to use named exports and move from dedent-tabs to dedent 2026-01-23 17:38:16 +01:00
Víctor Losada Hernández b72e5b9172 fix file imports 2026-01-23 17:18:03 +01:00
Víctor Losada Hernández 955457f22f some more fixes 2026-01-20 22:31:28 +01:00
Víctor Losada Hernández fc8656e05b all imports 2026-01-20 22:14:34 +01:00
Víctor Losada Hernández 0d6c3c7e33 fix module.exports 2026-01-20 19:56:37 +01:00
Trevor Buckner af348e7b2c Merge branch 'master' into move-markdown.js 2025-11-08 21:47:02 -05:00
Gazook89 c5aa774daa Move markdown.js and markdownlegacy.js
Moves the two files up a level, directly in `/shared/`.  Everything else is just updating paths for that.
2025-11-04 22:29:28 -06:00
Gazook89 fc569e560b Move renderWarnings from shared to client
Moving this component to the component folder so it's closer to where it is actually used.  Not moving to the `homebrew` folder because ultimately i think pretty much everything in that folder should move to the components as well (`homebrew` isn't a helpful folder distinction).

Deletes a directory, moves 2 files.
2025-11-03 21:50:31 -06:00
Víctor Losada Hernández ac18f4bd1d Merge branch 'master' of https://github.com/naturalcrit/homebrewery into fix-red-background 2025-10-05 19:43:29 +02:00
Víctor Losada Hernández ff5450ad8c Merge branch 'master' of https://github.com/naturalcrit/homebrewery into fix-red-background 2025-09-29 22:28:12 +02:00
G.Ambatte 328e071268 Update BrewRenderer toolbar keys 2025-09-10 19:22:54 +12:00