Skip to content

Libraries #141

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

Merged
merged 8 commits into from
Sep 24, 2024
Merged

Libraries #141

merged 8 commits into from
Sep 24, 2024

Conversation

pinkeshmars
Copy link
Collaborator

@pinkeshmars pinkeshmars commented Sep 19, 2024

Libraries

Linear ticket and magic word Fixes DEVR-600

Type of change

  • Typo fix
  • New feature
  • Enhancement to current docs
  • Removed outdated references
  • Update assets

Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@github-actions github-actions bot requested a review from PoojaB26 September 19, 2024 10:44
Copy link
Collaborator

@PoojaB26 PoojaB26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need some shuffling around of the topics


- You can only publish libraries if you have access to branching, which is available to Pro+ users.
- Libraries can only be published from the main branch, and each published version is linked to a specific commit, ensuring robust version control.
- You can add new features and publish updated versions of the library. Each time a new version is published, the version number will automatically increment.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel this should be its own topic. "Library Versioning" can be a new topic. That can have sub topics around publishing a new version, importing to a version of choice or upgrading to latest. also mention the importance of library versioning.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries. Updated as per your suggestion.


Follow these steps to ensure both libraries rely on the same version of Components Library:

1. **Upgrade both libraries**: Start by upgrading libraries to their latest versions. Often, newer versions are built to rely on a common or more flexible version of Components Library, which can resolve conflicts.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Little confusing here. Do you mean upgrading the dependencies used in these libraries? If yes, its not very clear here because of the heavy use of "libraries" and not mentioning which ones we are talking abiut here. Can we rephrase?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ya, It's updated now to make it more clear.

2. **Modify libraries**: If you have access to the library projects, adjust the dependencies of either User Auth Library or Payment Gateway Library (or both) to use the same version of Components Library.
3. **Contact library maintainers**: If you cannot resolve the conflict yourself, reach out to the maintainers of User Auth Library and Payment Gateway Library. They may provide guidance, suggest workarounds, or release a version that addresses the conflict.

## Access Library Resources
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This topic doesnt need a topic of its own, I mean we already have "Library Resources" section above and this should be included as a paragraph there (without any heading)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I have merged 'Library Resources' into 'Access Library Resources'. Kept it at the bottom so that it looks step by step.

![access-library-resources.avif](imgs/access-library-resources.avif)

## FAQs
Here are the FAQs in the requested format:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does that mean? "requested format?"

Copy link
Collaborator Author

@pinkeshmars pinkeshmars Sep 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, It's a text from ChatGPT that came along with the formatted FAQs that Docusaurus uses (i.e., < details >
< summary >...). Removed it.🙂

@PoojaB26 PoojaB26 changed the base branch from main to ffdc-features September 23, 2024 10:20
pinkeshmars and others added 3 commits September 24, 2024 10:21
Co-authored-by: Pooja Bhaumik <pbhaumik26@gmail.com>
Co-authored-by: Pooja Bhaumik <pbhaumik26@gmail.com>
@pinkeshmars
Copy link
Collaborator Author

@PoojaB26 all comments till now are addressed. You can review them again.

@PoojaB26
Copy link
Collaborator

I just noticed Libraries is part of Resources, should this be not part of Resources > Projects instead? @pinkeshmars

Copy link
Collaborator

@PoojaB26 PoojaB26 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved Libs to Projects since its a component/setting of a project

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great diagram!

Copy link
Collaborator Author

@pinkeshmars pinkeshmars Sep 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Pooja!🙂


Previously, FlutterFlow offered several methods to share resources between projects, such as team code libraries, design systems, API libraries, and by leveraging marketplace items. However, these methods had limitations, including the inability to share custom data types or custom functions alongside components or API calls and the absence of version control.

With the Libraries, you can publish the complete FlutterFlow project as a library and import it as a dependency into other projects.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
With the Libraries, you can publish the complete FlutterFlow project as a library and import it as a dependency into other projects.
With Libraries, you can publish the complete FlutterFlow project as a library and import it as a dependency into other projects.

@PoojaB26 PoojaB26 merged commit f10eb29 into ffdc-features Sep 24, 2024
PoojaB26 added a commit that referenced this pull request Sep 24, 2024
* Keyboard Shortcut (#144)

* added on shortcut press action trigger

* 'demo arcade' removed

* Added important points related to keyboard shortcuts

* Added branch permission and commits section

* Making a few modifications

* Fixing some outdated information and rewording

* Added dev environments

* added note

* Content correction

* Updated as per review comments

* Added environment variables

* Making some changes

* One more change based on pooja feedback

* Libraries (#141)

* Added libraries content

* add note

* added dependency conflicts section

* minor fix

* Update docs/resources/libraries.md

Co-authored-by: Pooja Bhaumik <pbhaumik26@gmail.com>

* Apply suggestions from Pooja's review

Co-authored-by: Pooja Bhaumik <pbhaumik26@gmail.com>

* Address review comments

* Move libraries to projects

---------

Co-authored-by: Pooja Bhaumik <pbhaumik26@gmail.com>

* Widget builder as parameter (#142)

* Added widget builder as parameter

* Address review comments

* Added libraries content

* add note

* added dependency conflicts section

* minor fix

* Update docs/resources/libraries.md

Co-authored-by: Pooja Bhaumik <pbhaumik26@gmail.com>

* Apply suggestions from Pooja's review

Co-authored-by: Pooja Bhaumik <pbhaumik26@gmail.com>

* Address review comments

* Move libraries to projects

* making some modifications

* Moving built in widgets to widget section

* Making adjustments to widget builder as parameter

* Mentioning commits in versions page

* Adding shotcut info

* Fix name

* update action flow editor visuals

* added action triggers

* added arcade for example 3rd step

* added lifecycle stages

* Fixed review comments

* Formatting fix

* Formatting fixes

* added lifecycle for tap gesture

* Making adjustements to gesture detector stuff

* Specify Firestore collections

* fix slug for widget builder

* fix admonition

* minor corrections

* fix slug for dev envs

* fix slug for dev envs

* fix slug for dev envs

* Spellings

---------

Co-authored-by: null <null>
Co-authored-by: Leigha Reid <leigha.jarett@gmail.com>
Co-authored-by: PoojaB26 <pbhaumik26@gmail.com>
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.

2 participants