-
Notifications
You must be signed in to change notification settings - Fork 110
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
Libraries #141
Conversation
|
There was a problem hiding this 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
docs/resources/libraries.md
Outdated
|
||
- 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. |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
docs/resources/libraries.md
Outdated
|
||
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. |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
docs/resources/libraries.md
Outdated
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 |
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
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.
docs/resources/libraries.md
Outdated
 | ||
|
||
## FAQs | ||
Here are the FAQs in the requested format: |
There was a problem hiding this comment.
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?"
There was a problem hiding this comment.
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.🙂
Co-authored-by: Pooja Bhaumik <pbhaumik26@gmail.com>
Co-authored-by: Pooja Bhaumik <pbhaumik26@gmail.com>
@PoojaB26 all comments till now are addressed. You can review them again. |
I just noticed Libraries is part of Resources, should this be not part of Resources > Projects instead? @pinkeshmars |
There was a problem hiding this 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
docs/resources/imgs/libraries.avif
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great diagram!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Pooja!🙂
docs/resources/libraries.md
Outdated
|
||
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
* 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>
Libraries
Linear ticket and magic word Fixes DEVR-600
Type of change