Skip to content

Commit d1e6c39

Browse files
committed
...
1 parent f745f6d commit d1e6c39

File tree

7 files changed

+17
-11
lines changed

7 files changed

+17
-11
lines changed

website/docs/packages/how-to-guides/use-query-inside-js-module.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This page shows how to create a custom authentication module using packages, whi
2424

2525
## Prerequisites
2626

27-
- A UI Package that has already been created. For more information, see [Package and query modules tutorials](/packages/tutorial/query-module).
27+
- A UI Package that has already been created. For more information, see [UI Modules tutorials](//packages/tutorial/ui-module).
2828
- An authenticated datasource with user sign-in endpoints.
2929

3030

website/docs/packages/overview.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,20 @@ For Appsmith version v1.57 or earlier, refer to the legacy documentation for the
3131

3232
A **Package** is a reusable bundle that can be shared across apps in the same workspace. There are two types of packages in Appsmith:
3333

34-
<ZoomImage
35-
src="/img/modules-landing.png"
36-
alt="Modules image"
37-
caption=""
38-
/>
3934

4035
### Code Packages
4136

4237
Code Packages are reusable bundles that group multiple logic-based modules, which can be shared across applications within the same workspace.
4338

4439
Inside a Code Package, you can create two types of modules—Query Modules and JavaScript Modules. These modules allow you to encapsulate backend logic in a reusable, version-controlled way, helping you standardize how data is fetched and processed across your apps.
4540

41+
42+
<ZoomImage
43+
src="/img/modules-landing.png"
44+
alt="Modules image"
45+
caption=""
46+
/>
47+
4648
* **Query Modules:** Reusable datasource queries that can be used across different apps and pages. You can pass dynamic inputs to the query module, which allows you to change query parameters based on user input or widget actions. They are deployment-independent, meaning updates affect only applications in edit mode and not the deployed version.
4749

4850
* **JavaScript Modules:** Reusable objects containing JavaScript functions and logic, enabling efficient data manipulation and standardized handling. It allows you to pass data between query and JS modules, ensuring smooth integration and reuse across different applications.
@@ -52,12 +54,18 @@ Inside a Code Package, you can create two types of modules—Query Modules and J
5254

5355
UI Packages allow you to create and distribute reusable UI components across multiple applications in the same workspace.
5456

55-
Inside a UI Package, you can create UI Modules—self-contained user interface components that bundle widgets, logic, and internal queries into a configurable unit. These modules are designed to enhance consistency, simplify UI development, and promote reuse across your apps.
5657

5758
* **UI Modules:** Reusable widgets and UI components designed to enhance modularity and reusability in the user interface, streamlining the development and maintenance of consistent UI elements across multiple applications.
5859

5960

6061

62+
<ZoomImage
63+
src="/img/moduleui.png"
64+
alt="Modules image"
65+
caption=""
66+
/>
67+
68+
6169
## Getting started
6270

6371

website/docs/packages/reference/ui-module-instance.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,7 @@ Then inside the module, the corresponding widget (e.g., `Input1`) can use:
6868

6969
<dd>
7070

71-
Allows you to access dynamic values from the UI Module Instance in your parent application. Outputs listed at the instance level are automatically generated based on the Outputs defined when the UI Module was created.
72-
73-
Outputs enable you to retrieve internal module state, computed values, or processing results without needing to understand the module's internal implementation.
71+
Outputs allow your app to receive data from a UI Module. You can use outputs to access values like user input, results, or internal state from the module. These values are defined inside the module and become available in your app when you use the module instance.
7472

7573
You can access outputs using the module instance name followed by .`outputs.outputName`:
7674

website/docs/packages/tutorial/js-module.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: JS modules
2+
title: JS Modules
33
hide_title: true
44
---
55

website/static/img/moduleui.png

16.9 KB
Loading

website/static/img/ui-mod.png

115 KB
Loading

website/static/img/uimodule.png

26.5 KB
Loading

0 commit comments

Comments
 (0)