Skip to content
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

Version 0.1.1 #95

Merged
merged 65 commits into from
May 17, 2021
Merged

Version 0.1.1 #95

merged 65 commits into from
May 17, 2021

Conversation

GroovinChip
Copy link
Collaborator

@GroovinChip GroovinChip commented May 17, 2021

Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.

Pre-launch Checklist

  • I have run dartfmt on all changed files
  • I have run "optimize/organize imports" on all changed files
  • I have addressed all analyzer warnings as best I could
  • I have added/updated relevant documentation
  • I have incremented the package version as appropriate and updated CHANGELOG.md with my changes
  • I have run flutter pub publish --dry-run and addressed any warnings

GroovinChip and others added 30 commits March 30, 2021 10:44
* Start work on theme

Contains a super barebones theme.dart, shamelessly copied from https://github.com/bdlukaa/fluent_ui/blob/master/lib/src/styles/theme.dart

* More theme work (9:50 AM March 30)

* New macos_app.dart
* Placeholer Typography in theme.dart from material
* Add some todos/fixmes

* Start work on theme

Contains a super barebones theme.dart, shamelessly copied from https://github.com/bdlukaa/fluent_ui/blob/master/lib/src/styles/theme.dart

* More theme work (9:50 AM March 30)

* New macos_app.dart
* Placeholer Typography in theme.dart from material
* Add some todos/fixmes

* Add Apple SF Pro fonts

* Add typography.dart

* Add basic documentation to typography.dart

* Minor tweaks to macos_app.dart

* Use CupertinoColors.systemBlue for default color
* Rename color to primaryColor

* Improvements to theming, root app; first new (experimental) widget: Scaffold!

* Remove print

* Add not implemented comments
This is very early and is mostly a placeholder
* Major Updates for Scaffold

* Adds SplitView for expanded/shrinking the sidebar
* Removed rightSidebar
* Lots of customizable properties related to the sidebar
* Documentation

Additional changes:
* Update typography.dart so that the color is properly shown.
* Update version
* Update README.md
* Update CHANGELOG.md
* MIT License
* Add metrics to configuration

* Sort scaffold.dart public members

* Sort macos_app.dart public members

* Sort theme.dart public members

* Sort typography.dart public members
* Rework on MacosApp

Reworked MacosApp to use CupertinoApp as a backend. This has several improvements:

- Apple-styled scrolling
- Using the San Francisco font by default

I also added documentation for all the properties

* Fixed references

iOS -> macOS
color -> primaryColor
Renames MacosApp's primaryColor to simply "color" as a result.
* Implemented Switch

- MacosTheme.maybeOf now can return a nullable value
- Added Switch to Example app

* Bump version
* Update README.md with Switch, ProgressCircle, and ProgressBar

* Reduce image sizes, update indeterminate ProgressCircle file extension

* Converted to gif

* Fix unreachable content
* Add primaryColor to Style

Renames MacosApp's primaryColor to simply "color" as a result.

* Major theme refactor that more closely resembles flutter/material and flutter/cupertino

* The `Style` class is now `MacosThemeData`
* `MacosTheme` is now a `StatelessWidget` that returns a private `_InheritedMacosTheme`. The static `MacosTheme.of(context)` is now defined here.
* `MacosApp` now takes a `theme` and `darkTheme` rather than `style` and `darkStyle`. Additionally, there are minor changes to the way `MacosApp` is built that more closely resemble how `MaterialApp` is built.

Inspired by:
* material/theme.dart
* material/theme_data.dart
* material/app.dart
* cupertino/theme.dart

* Stop setting explicit active colors since the theme will always have a color
* README.md now mentions CONTRIBUTING.md
* CONTRIBUTING.md has been updated with branch structure and versioning information
* Add workflows/pana_analysis.yml

* Use split_view from pub

Author merged my null-safety PR a while back and I forgot to update. This addresses an analyzer warning and also should allow the pana_analysis action to run.

* Run `dartfmt -w .` per pana report
* Stub out buttons with corresponding Styles

* Stub out Fields and Labels with corresponding Styles

* Stub out Selectors

* Placeholder Indicators

* Remove stubs for RoundButton and BevelButton

Apple docs say not to use these

* Start working on PushButton

* Get PushButton color from style's primaryColor instead of PushButton's disabledColor

Also:
* Add button_states.dart
* Add PushButtonStyle stub to Style
* Add Diagnosticable mixin to PushButtonStyle

* Tweak PushButton's disabledColor

* Start work on PushButtonStyle

* Add color, disabledColor, padding, and borderRadius properties to class with contructor and corresponding debug properties
* Include PushButtonStyle when returning default style in theme.dart
* Get PushButton color from current style if possible, otherwise fall back to defaults
* Add todos for implementing other PushButtonStyle props in PushButton

* Use proper padding and border radius for small and large PushButtons

* Test PushButton in example app

* Export push_button_theme.dart, move todo

* Documentation updates

* Documentation for PushButtonTheme and PushButtonThemeData
* Tweak MacosThemeData documentation

* Revert stubs

* Update version and CHANGELOG.md

* Ensure text color is correct when PushButton is disabled

* Add PushButton section to README.md

* Try embedding PushButton images as an album

* Try embedding PushButton images as an album (2)

* Revert to individual images
* Add letter spacing to all TextStyles that require it

Also make headline's letter spacing negative, per spec

* Add fontWeights to TextStyles

* Update PushButton images in README.md

* Update version, CHANGELOG.md
* Add `brightnessOf` and `maybeBrightness of`

Also add documentation to `of`

* Update CHANGELOG.md
* Implement capacity indicator

* Implemented rating indicator

* Implemented relevance indicator

* Implemented gesture detector for indicators

* Updated theme

* Fixed colors

I also made some changes to styles/colors.dart

* Update colors.dart
GroovinChip and others added 26 commits May 1, 2021 22:10
commit 81b9ac34100622c35cdac752e527a73f49197806
Author: Reuben Turner <groovinchip@gmail.com>
Date:   Sat May 1 22:06:32 2021 -0400

    change base href

commit d633c3e
Author: Reuben Turner <groovinchip@gmail.com>
Date:   Sat May 1 21:55:35 2021 -0400

    Fix env

commit 995f648
Author: Reuben Turner <groovinchip@gmail.com>
Date:   Sat May 1 21:53:02 2021 -0400

    tweak token usage

commit 23552c6
Author: Reuben Turner <groovinchip@gmail.com>
Date:   Sat May 1 21:43:50 2021 -0400

    Switch back to my email/username

commit 32dc277
Author: Reuben Turner <groovinchip@gmail.com>
Date:   Sat May 1 21:38:11 2021 -0400

    Simplify deploy

commit b604090
Author: Reuben Turner <groovinchip@gmail.com>
Date:   Sat May 1 21:32:04 2021 -0400

    Change git config

commit d18c134
Author: Reuben Turner <groovinchip@gmail.com>
Date:   Sat May 1 21:26:49 2021 -0400

    Fix indentation

commit bcf5ec1
Author: Reuben Turner <groovinchip@gmail.com>
Date:   Sat May 1 21:25:32 2021 -0400

    Remove unnecessary steps and use "working-directory"

commit f02cbd7
Author: Reuben Turner <groovinchip@gmail.com>
Date:   Sat May 1 21:19:58 2021 -0400

    Fix paths

commit 7dc28be
Author: Reuben Turner <groovinchip@gmail.com>
Date:   Sat May 1 21:17:17 2021 -0400

    Add cd into example

commit 3761559
Author: Reuben Turner <groovinchip@gmail.com>
Date:   Sat May 1 21:13:50 2021 -0400

    Try a different action deploying to gh pages
* Documentation about checkbox

* Documentation about radio button

* Documentation about push button

* Documentation about toggle switch

* Documentation about indicators

* Documentation about help buttons

* Code improvements

* Changes

* Introduce library.dart

Moving flutter exports from macos_ui.dart to library.dart allows documentation to be generated only for files belonging to macos_ui.

* Fix placement of package level documentation

* Address pana warning

Co-authored-by: Reuben Turner <groovinchip@gmail.com>
* remove split_view package

* create title_bar

* create sidebar

* create content_area

* remove titlebar in MainFlutterWindow.swift

* Update pubspec.lock

* create resizable_pane

* create resizable_pane_notifier

* Update scaffold.dart

* Update macos_ui.dart

* Update main.dart

* [example] add resizable pane

* add dividerColor to MacosThemeData

* use BoxDecoration in Sidebar

* use SafeArea in ContentArea

* update ResizablePane

* update scaffold

* make `ResizablePane` `const`

* make `Sidebar` `const`

* make `TitleBar` `const`

* make `Scaffold` `const`

* Update CHANGELOG.md

* Update resizable_pane.dart

* add maybeOf to scaffold

* Update macos_ui.dart

* Update scaffold.dart

* add `scaffoldBreakpoint` to `sidebar`

* use sidebar breakpoint and toggling in `Scaffold`

* use `scaffoldBreakpoint` in `ResizablePane`

* update example

* Address some requested changes

Co-authored-by: Reuben Turner <groovinchip@gmail.com>
* Implemented TextField

And fixed macos resolve color

* Formatted code

* Update README.md

* Border

* Fixed text field border to match the latest design

* Focused border animation

* Fix formatting error

* Update placeholder text in demo

* Update version, CHANGELOG.md

Co-authored-by: Reuben Turner <groovinchip@gmail.com>
* Implemente mouse cursors

* Removed mouse cursor from checkbox and radio button

* Implemented mouse cursor for text field

* Bump version
* Implement tooltip

* Bump version and update readme

* Format files

* Fixed typo
* Update Scaffold images

* Address analyzer warnings

* Constructors first
* Remove unnecessary statement
* Adjust failing score

* Address warning

* Run dartfmt

* Re-adjust scoring

* Re-adjust scoring again

* Re-adjust scoring again!

* Use correct score
* update `resizable_pane_notifier` documentation

* update `ScaffoldScope` documentation

* Update CHANGELOG.md
and format text field
* Implement label

* Updated documentation

* Formatted files
@GroovinChip GroovinChip self-assigned this May 17, 2021
@GroovinChip GroovinChip added this to the Version 0.1.1 milestone May 17, 2021
@GroovinChip GroovinChip merged commit b7d97ad into stable May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants