Commit Graph
100 Commits
Author SHA1 Message Date
G.Ambatte a834c79b49 Fix BrewItem locations and overlapping. 2021-08-18 18:07:17 +12:00
G.Ambatte cb8c3a016a BETTER property alignment in googleActions 2021-08-18 16:25:08 +12:00
G.Ambatte 7a081e1147 Property alignment in googleActions.js 2021-08-18 16:20:27 +12:00
G.Ambatte f609962d44 Merge branch 'addPageCountToUserPage' of https://github.com/G-Ambatte/homebrewery into addPageCountToUserPage 2021-08-17 19:31:54 +12:00
G.Ambatte 15f4aef7ef Eliminate duplicate section 2021-08-17 19:30:20 +12:00
G.Ambatte 4218078502 Eliminate hanging comma 2021-08-17 19:30:20 +12:00
G.Ambatte 18cd851674 Eliminate spacer div in BrewItem 2021-08-17 19:30:20 +12:00
G.Ambatte 2c6c148da8 Push pageCount to NewPage and EditPage 2021-08-17 19:30:19 +12:00
G.Ambatte 42da4b4c43 Add a page count to User page 2021-08-17 19:30:17 +12:00
G.Ambatte ee006b6b16 Eliminate spacer div in BrewItem 2021-08-17 19:30:01 +12:00
G.Ambatte cfb98986cd Push pageCount to NewPage and EditPage 2021-08-17 19:30:01 +12:00
G.Ambatte 0fd7921a50 Lint fix. 2021-08-17 19:30:01 +12:00
G.AmbatteandTrevor Buckner e0e86dff7c Update server/googleActions.js
Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
2021-08-17 19:29:25 +12:00
G.AmbatteandTrevor Buckner 7e30fb19d4 Update server/googleActions.js
Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
2021-08-17 19:29:25 +12:00
G.Ambatte df07e0401a Add support for Google Brews. 2021-08-17 19:27:56 +12:00
G.Ambatte a908c5f5d5 Add a page count to User page 2021-08-17 19:27:54 +12:00
G.Ambatte cdaa0b3ac2 Eliminate duplicate section 2021-08-17 19:26:03 +12:00
G.Ambatte 6573ada881 Eliminate hanging comma 2021-08-17 19:25:39 +12:00
G.Ambatte 2a7bde7e44 Eliminate spacer div in BrewItem 2021-08-17 19:05:30 +12:00
G.Ambatte eca58bb27e Push pageCount to NewPage and EditPage 2021-08-17 19:05:30 +12:00
G.Ambatte 2e68cd77fa Add a page count to User page 2021-08-17 19:03:23 +12:00
G.Ambatte f1d19d2d63 Eliminate spacer div in BrewItem 2021-08-17 18:01:07 +12:00
G.Ambatte a13759130d Push pageCount to NewPage and EditPage 2021-08-17 17:36:26 +12:00
G.Ambatte a99cf75b2e Lint fix. 2021-08-17 17:07:19 +12:00
G.AmbatteandTrevor Buckner 3b7a52a60f Update client/homebrew/pages/userPage/brewItem/brewItem.jsx
Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
2021-08-17 16:02:50 +12:00
G.AmbatteandTrevor Buckner 6489a29436 Update server/googleActions.js
Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
2021-08-17 15:51:05 +12:00
G.AmbatteandTrevor Buckner c907d32779 Update server/googleActions.js
Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
2021-08-17 15:50:40 +12:00
G.Ambatte 3a2477949b Resolve merge conflict 2021-08-15 21:19:09 +12:00
G.Ambatte 1edc62d023 Hide pageCount on User Page if the brew only has one page 2021-08-15 21:02:56 +12:00
G.Ambatte 7b0f5cec97 Add support for Google Brews. 2021-08-15 21:02:46 +12:00
G.Ambatte f0a0c0c11d Add a page count to User page 2021-08-15 21:00:17 +12:00
G.Ambatte 3489a76a1d Hide pageCount on User Page if the brew only has one page 2021-08-15 20:32:23 +12:00
G.Ambatte 3cf05e551f Add support for Google Brews. 2021-08-15 20:17:50 +12:00
G.Ambatte a6aaa93389 Revert "Add modifiedTime to properties to apply during view count increase update."
This reverts commit 72b18e4266.
2021-08-10 21:37:03 +12:00
G.Ambatte 72b18e4266 Add modifiedTime to properties to apply during view count increase update. 2021-08-10 21:35:27 +12:00
G.Ambatte 479f9af08c Wrap Last Viewed tooltip with Moment 2021-08-10 21:31:02 +12:00
G.Ambatte 0ddfb6e4e7 Update following Gitter conversation 2021-08-10 20:47:49 +12:00
G.Ambatte 120e99959a Update BrewItem tooltips 2021-08-10 18:54:16 +12:00
G.Ambatte 2c954c398c Add renderer metadata to Google Drive file properties 2021-08-09 19:21:25 +12:00
G.Ambatte 33b8f2002b Save renderer settings to localStorage 2021-08-09 19:20:54 +12:00
G.Ambatte 6775960241 Hide Private brew <div> if UserPage is not for logged in User 2021-08-09 13:26:10 +12:00
G.Ambatte 4940d8523c Add title tooltip to Recent NavBar dropdown 2021-08-07 14:56:06 +12:00
G.Ambatte a1e78f1d17 Add createdTime to G-Drive fields to retrieve
Add Moment to UserPage sorting
2021-08-07 14:47:25 +12:00
G.Ambatte fd8020dcc4 Add tooltip and classNames to UserPage and BrewItem 2021-08-07 14:41:11 +12:00
G.Ambatte e14c42761d Check brew.title exists before sorting by it 2021-08-04 12:24:29 +12:00
G.Ambatte b6f7dc048f Modify buildAdmin.js for Node compatibility 2021-08-03 19:12:51 +12:00
G.Ambatte 4efd89627d Add config/docker.* to gitIgnore 2021-08-03 13:54:45 +12:00
G.Ambatte 00f90d1084 Add a page count to User page 2021-07-31 17:21:25 +12:00
G.Ambatte db3bec9e2b Combine setState calls in componentDidMount 2021-07-29 21:05:55 +12:00
G.Ambatte 577a434e17 Slight change to isMounted logic 2021-07-29 19:24:36 +12:00
G.Ambatte cac5aa2475 Combine renderStyle and renderPages logic 2021-07-29 19:23:27 +12:00
G.Ambatte 85fa73b9bf Remove welcomText+changelogText from default props 2021-07-29 19:02:48 +12:00
G.Ambatte fdfea36614 Shift HomePage to use a minimal brew 2021-07-29 19:00:26 +12:00
G.Ambatte 7fa1e16b5a Create minimal Changelog brew 2021-07-28 17:51:35 +12:00
G.Ambatte acb750c18a Fix logic for enabling Source and Get PDF 2021-07-28 17:15:38 +12:00
G.Ambatte 72d8b5ea16 Linter fixes; correction of condtional JSX element 2021-07-28 17:10:53 +12:00
Sean Robertson 6238ed6b77 Further simplification of code. 2021-07-28 16:04:28 +12:00
Sean Robertson fa5bd92406 Shift check to presence of this.props.brew.shareId. Revert changes to Homebrew.jsx. 2021-07-28 15:37:36 +12:00
Sean Robertson 189fdb4555 Missed a vital comma. 2021-07-28 15:29:04 +12:00
Sean Robertson caf151a0dd Initial code pass to not display "Source" and "Get PDF" NavBar buttons on the /changelog page. 2021-07-28 15:25:17 +12:00
G.Ambatte 1031e8a55a Changed from Radios to Buttons 2021-07-27 23:14:05 +12:00
G.Ambatte b80a249cf7 Reduce code duplication in sorting radio options 2021-07-26 22:40:01 +12:00
G.Ambatte 54d0e2c483 Add Lodash deburr to sorting by title 2021-07-26 22:08:54 +12:00
G.Ambatte c91e5784ac Change to Unicode characters for asc/desc arrows 2021-07-26 21:38:22 +12:00
G.Ambatte 48e80803f7 Ignore case when ordering by title ( a > B ) 2021-07-26 21:33:20 +12:00
G.Ambatte 495a68893d Initial pass at sorting User brews 2021-07-26 20:52:23 +12:00
G.Ambatte 41e1ed7bd1 Fix issue with undefined Style tab data 2021-07-26 10:29:31 +12:00
G.Ambatte 7eb63db502 Clean up link validation in template 2021-07-26 10:05:43 +12:00
G.Ambatte c6d0a2e2ad Make WelcomeText and ChangeLogText conditional 2021-07-26 09:55:04 +12:00
G.Ambatte f31fe6cbf0 Prepend 'CLONE:- ' to title of cloned brew 2021-07-25 16:54:24 +12:00
G.Ambatte 9f8a857cef Fix for Issue #1438 - style data not cloning to /new 2021-07-25 16:39:29 +12:00
G.Ambatte 3540a35a6c Fix for white screen issue when transferring Brews between Storage options. 2021-07-04 20:54:31 +12:00
G.Ambatte c18eb948b4 Accidentally was overzealous with replacing brew with saveBrew. 2021-06-28 19:43:15 +12:00
G.Ambatte 0cd4b730d7 Attempt to fix issue with saving Google brews. 2021-06-28 19:37:06 +12:00
G.Ambatte 205ed8e30e Padding fix for dropdown items. 2021-06-25 20:50:40 +12:00
G.Ambatte 4119626cb7 Merge branch 'addShareDropDown' of https://github.com/G-Ambatte/homebrewery into addShareDropDown 2021-06-25 20:46:13 +12:00
G.Ambatte 94fdca084a Horizontal and vertical alignment adjustments. 2021-06-25 20:45:47 +12:00
G.Ambatte 1f830b96b5 Inital pass at getting brew.style to apply when accessing /print from /new without saving. 2021-06-24 21:05:32 +12:00
G.Ambatte ff7585b69d Clean up unnecessary code. 2021-06-23 21:16:33 +12:00
G.Ambatte 715ee88f38 Add dropdown to /share for source to unify options:
* "view" - View Source
* "download" - Download Source
* "clone to new" - Create New Brew from this Brew
2021-06-23 18:20:02 +12:00
G.Ambatte 142c9ad3b7 Fix loading Style data from local storage, and add fix for Linter. 2021-06-21 20:14:58 +12:00
G.Ambatte e2280197b9 Unwinding hanging new line accidentally left after removing other code changes. 2021-06-21 19:49:35 +12:00
G.Ambatte a74916d593 Removed CSS splitting from homebrew.api.js and back to newPage.jsx. 2021-06-21 19:46:54 +12:00
G.Ambatte ad0e4a2099 Lint fixes. 2021-06-21 19:39:30 +12:00
G.Ambatte 2613d43f3c Shift CSS processing from newPage.jsx/save to homebrew.api.js/newBrew, as this function is only called when saving new Brews. 2021-06-21 19:38:02 +12:00
Sean Robertson 09c7f45c69 Clear data from new key when appropriate 2021-06-21 16:27:18 +12:00
Sean Robertson 0eaeb748f4 Add local storage key to store Brew Style data
Add local storage key for storing Brew Style data.
2021-06-21 16:15:37 +12:00
Sean Robertson b72191ae68 Increase Linter max lines for newPage.jsx
Increase the maximum number of lines permitted by the Linter for the newPage.jsx file to 300 (was 200).
2021-06-21 13:04:29 +12:00
Sean Robertson cf4bfc35ea Add new line before appending style data
Add a new line between the existing style data and the appended codefenced style data.
2021-06-21 13:00:12 +12:00
Sean Robertson 69231ba57a Initial pass at appending codefenced CSS to Style data at save time, only on /new brews (so only once per brew). 2021-06-21 12:34:51 +12:00
G.Ambatte 68ed6019f6 Add new access type (raw) and simplify adding other types in the future. Add functionality for raw access to skip splitting Style data from Brew Content. 2021-06-19 15:50:48 +12:00
Sean Robertson 4638c3e1d9 Update server.js
Initial commit of incorporating `brew.style` into /source and /download pages
2021-06-18 11:24:20 +12:00
G.AmbatteandTrevor Buckner 70bdb07c1e Update client/homebrew/editor/metadataEditor/metadataEditor.jsx
Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
2021-06-09 21:42:12 +12:00
G.AmbatteandTrevor Buckner 23e773ce64 Update client/homebrew/editor/metadataEditor/metadataEditor.jsx
Co-authored-by: Trevor Buckner <calculuschild@gmail.com>
2021-05-18 16:37:13 +12:00
G.Ambatte 3b34fe72b9 Lint fix. 2021-05-17 19:23:35 +12:00
Sean Robertson 34f620c59b Fix 'Share to Reddit' link for Google brews
Fix 'Share to Reddit' generating incorrect links for brews stored on Google Drive
2021-05-17 12:16:22 +12:00
G.Ambatte 2ba10655a8 Update to include brew title, description, systems, etc. on the new page 2021-05-01 14:38:54 +12:00
G.Ambatte 712824d8a6 Add 'Tweak Drop Cap' with default settings to allow users to tweak the drop cap as desired 2021-03-19 17:44:07 +13:00
G.Ambatte 7491f463b4 Lint fixes. 2021-03-19 17:32:27 +13:00
G.Ambatte 8f08591ab9 Add snippet for removing drop cap (aka fancy first letter). 2021-03-19 17:28:49 +13:00