Trevor Buckner
2f663e0ea7
Merge pull request #1468 from G-Ambatte/fixSharePage-#1467
...
Fix issue 1467 - Source on Change Log doesn't work
2021-07-29 00:11:20 -04: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
Trevor Buckner
d35769dceb
Merge pull request #1459 from G-Ambatte/sortUserBrews
...
Add options for ordering brews on User page
2021-07-27 18:12:32 -04: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
Trevor Buckner
1a2da712ed
Merge pull request #1452 from G-Ambatte/fixIssue1438
...
Fix for Issue #1438 - style data not cloning to `/new`
2021-07-25 17:05:36 -04:00
G.Ambatte
9f8a857cef
Fix for Issue #1438 - style data not cloning to /new
2021-07-25 16:39:29 +12:00
Trevor Buckner
7c9defb85c
Put theme in user page.
2021-07-21 15:09:37 -04:00
Trevor Buckner
76e4023b37
Add theme CSS file to print page
2021-07-20 15:44:42 -04:00
Trevor Buckner
2661e2cfa0
Update all naturalcrit links to https
2021-06-28 20:58:00 -04:00
Trevor Buckner
017bccc937
replace trailing slash
2021-06-28 12:07:56 -04:00
Trevor Buckner
496ab26972
Use let instead of const
2021-06-28 11:50:12 -04: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
Trevor Buckner
3660f3827f
Merge pull request #1408 from G-Ambatte/addShareDropDown
...
Add dropdown to `/share` for `source` to unify options:
2021-06-25 23:30:25 -04: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
Trevor Buckner
7843691c4b
add "page" class to print page
...
With the style panel we added a `page` css class alongside the `phb` and `phb3` classes so users can write CSS that targets all pages no matter the base CSS loaded. This wasn't applied to the print page.
Funnily enough, the rest of the site uses `.page` just to display the website, and I didn't realize there was a conflict until now because otherwise, the brew is usually hidden in an iFrame.
2021-06-25 00:53:25 -04:00
Trevor Buckner
d9effacb20
Merge branch 'master' into pr/1410
2021-06-25 00:37:53 -04:00
Trevor Buckner
3efb0bf189
Merge branch 'master' into pr/1408
2021-06-25 00:18:27 -04:00
Trevor Buckner
0616ce62eb
Rearrange so loading from one doesn't override the other
2021-06-25 00:15:49 -04:00
Trevor Buckner
a171de32d8
Merge branch 'master' into pr/1401
2021-06-25 00:03:49 -04:00
Trevor Buckner
e07bb1b3c2
Don't save style tab if user never put anything in it
2021-06-24 23:29:01 -04: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
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
Trevor Buckner
6ecf546baf
Fix github link in Edit Page error popup.
2021-06-20 15:04:23 -04:00
Trevor Buckner
fc8be9c8fb
Babel to support ES6 Javascript in older browsers
2021-06-10 00:09:29 -04:00
Trevor Buckner
51aba937f5
Fix CSS highlighting
2021-06-07 11:51:02 -04:00
Trevor Buckner
e67fadef02
Separate "style" and "metadata" panels
2021-06-05 15:58:31 -04:00
G.Ambatte
2ba10655a8
Update to include brew title, description, systems, etc. on the new page
2021-05-01 14:38:54 +12:00