Skip to content

Commit 7d2abe0

Browse files
committed
Updates issues.
1 parent 1ddbb08 commit 7d2abe0

13 files changed

+179
-152
lines changed

docs/master/architecture/packages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ The Product package in Bagisto encapsulates comprehensive functionalities relate
340340

341341
- Defines structured data models and repository patterns for efficient data handling and interaction.
342342

343-
- Allows administrators to create new products, update existing ones, and manage product lifecycles efficiently.
343+
- Allows administrators to create new products, update existing ones, and manage product life cycle efficiently.
344344

345345
### Sales
346346

docs/master/architecture/performance.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[[TOC]]
44

5-
In the realm of online stores, [web vitals](https://web.dev/vitals/) have become increasingly crucial. **Bagisto** prioritises good [LCP](https://web.dev/lcp/) and [CLS](https://web.dev/cls/) to ensure an optimal user experience.
5+
In the realm of online stores, [web vitals](https://web.dev/vitals/) have become increasingly crucial. **Bagisto** priorities good [LCP](https://web.dev/lcp/) and [CLS](https://web.dev/cls/) to ensure an optimal user experience.
66

77
Additionally, **Bagisto** has seamlessly integrated [ElasticSearch](https://bagisto.com/en/elasticsearch-for-bagisto/) to further enhance user experience.
88

@@ -34,13 +34,13 @@ Similar to price indexing, the inventory indexing process in Bagisto involves up
3434
Flat indexing in Bagisto is a vital mechanism designed to enhance the performance and efficiency of product data retrieval.
3535
The indexer processes products in batches, which is efficient for handling large datasets without overwhelming the system.
3636
It manages a set of fillable attribute codes that are essential during the creation of the flat index. The flat indexer takes into account various channels and locales, ensuring that product data is accurately indexed for different market segments. A predefined list of attribute codes, such as `sku`, `name`, `price`, `weight`, and `status`, that can be populated during the indexing process.
37-
By default, the Flat Indexer reindexes products based on product creation or update events. However, there are scenarios where you might need to reindex the flat index in response to changes in channels or locales. In such cases, you can manually trigger the reindexing process to ensure that the flat tables reflect the latest channel and locale updates.
37+
By default, the Flat Indexer reindexes products based on product creation or update events. However, there are scenarios where you might need to reindex the flat index in response to changes in channels or locales. In such cases, you can manually trigger the re-indexing process to ensure that the flat tables reflect the latest channel and locale updates.
3838

3939
### Catalog Rule Indexing
4040

4141
Catalog rule indexing in Bagisto ensures that product prices are updated based on any changes to catalog rules, such as offers expiring or being updated. To maintain accurate pricing, Bagisto schedules the catalog rule indexer to run daily. This scheduled task ensures that any modifications to catalog rules are promptly applied to the product prices.
4242

43-
The catalog rule indexing process is set to execute at 00:01 every day. The product prices are consistently recalculated and updated based on the current catalog rules. This automatic reindexing guarantees that any changes in promotional offers, discounts, or other pricing rules are reflected in the product listings without any manual intervention.
43+
The catalog rule indexing process is set to execute at 00:01 every day. The product prices are consistently recalculated and updated based on the current catalog rules. This automatic re-indexing guarantees that any changes in promotional offers, discounts, or other pricing rules are reflected in the product listings without any manual intervention.
4444

4545
### ElasticSearch
4646

@@ -50,39 +50,39 @@ As Elastic is designed to handle large amounts of data and provide fast and scal
5050

5151
To configure Elasticsearch, please refer to the [Configuration Setup](https://devdocs.bagisto.com/2.x/advanced/indexing-products-to-elasticsearch.html) documentation.
5252

53-
### Reindexing
53+
### Re-indexing
5454

55-
The `ReindexCommands` console command is responsible for reindexing data within Bagisto, facilitating efficient data retrieval and search functionality. This command offers flexibility in selecting specific indexers and reindexing modes to suit varying requirements.
55+
The `Re-indexCommands` console command is responsible for re-indexing data within Bagisto, facilitating efficient data retrieval and search functionality. This command offers flexibility in selecting specific indexers and re-indexing modes to suit varying requirements.
5656

57-
By default, reindexing is executed at the scheduled time or based on specific events, such as product creation or updates. However, there may be situations where you need to manually trigger reindexing. This can be done using the following commands:
57+
By default, re-indexing is executed at the scheduled time or based on specific events, such as product creation or updates. However, there may be situations where you need to manually trigger re-indexing. This can be done using the following commands:
5858

5959
#### Command Signature
6060

61-
The command `php artisan indexer:index` in Bagisto is used to manage the reindexing of various indexers. Here is a detailed description of its usage:
61+
The command `php artisan indexer:index` in Bagisto is used to manage the re-indexing of various indexers. Here is a detailed description of its usage:
6262

6363
```shell
6464
php artisan indexer:index {--type=*} {--mode=*}
6565
```
6666
- **--type**: Specifies the type of indexers to reindex.
67-
- **--mode**: Specifies the reindexing mode, either `full` for full reindexing or selective for `selective` reindexing (default).
67+
- **--mode**: Specifies the re-indexing mode, either `full` for full re-indexing or selective for `selective` re-indexing (default).
6868

6969
- **Full Reindexing for All Types**
7070

7171
```shell
7272
php artisan indexer:index --mode=full
7373
```
74-
This command performs a full reindexing for all indexers by default.
74+
This command performs a full re-indexing for all indexers by default.
7575

7676

77-
- **Selective Reindexing**
77+
- **Selective Re-indexing**
7878

7979
```shell
8080
php artisan indexer:index --type=price
8181
```
8282

83-
This command performs selective reindexing specifically for the price indexer.
83+
This command performs selective re-indexing specifically for the price indexer.
8484

85-
Price and price rule indexing are scheduled to reindex at a specific time each day to ensure that the latest pricing information is accurately reflected in searches and displays. The following commands are scheduled to run daily at 00:01 AM:
85+
Price and price rule indexing are scheduled to re-index at a specific time each day to ensure that the latest pricing information is accurately reflected in searches and displays. The following commands are scheduled to run daily at 00:01 AM:
8686

8787
```php
8888
$schedule->command('indexer:index --type=price')->dailyAt('00:01');

docs/master/introduction/docker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Mention the database details same as docker-compose.yml and admin details.
164164

165165
### Install with composer
166166

167-
The following commands will be exexcuted within the docker container
167+
The following commands will be executed within the docker container
168168
```shell
169169
docker exec -i apache2 bash -c "su - www-data -s /bin/bash -c 'composer create-project bagisto/bagisto'"
170170
```

docs/master/packages/add-menu-in-admin.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ class BlogServiceProvider extends ServiceProvider
9797
public function register()
9898
{
9999
$this->mergeConfigFrom(
100-
dirname(__DIR__) . '/Config/admin-menu.php', 'menu.admin'
100+
dirname(__DIR__) . '/Config/admin-menu.php',
101+
'menu.admin'
101102
);
102103
}
103104
}

docs/master/packages/blade-components.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ Let's assume you want to use the **`tabs`** component on shop. You can call it l
252252
:is-selected="true"
253253
>
254254
<div class="container mt-[60px] max-1180:px-[20px]">
255-
<p class="text-[#6E6E6E] text-[18px] max-1180:text-[14px]">
255+
<p class="text-[#6E6E6E] text-lg max-1180:text-sm">
256256
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
257257
</p>
258258
</div>
@@ -263,7 +263,7 @@ Let's assume you want to use the **`tabs`** component on shop. You can call it l
263263
:title="Tab-2"
264264
>
265265
<div class="container mt-[60px] max-1180:px-[20px]">
266-
<p class="text-[#6E6E6E] text-[18px] max-1180:text-[14px]">
266+
<p class="text-[#6E6E6E] text-lg max-1180:text-sm">
267267
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
268268
</p>
269269
</div>

docs/master/packages/bundling-assets.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,18 +113,28 @@ The `package.json` file includes the following:
113113

114114
- **DevDependencies:** These are packages required during the development phase, including:
115115
- `autoprefixer` Adds vendor prefixes to CSS rules.
116+
116117
- `axios` A promise-based HTTP client.
118+
117119
- `laravel-vite-plugin` Integrates Vite with Laravel.
120+
118121
- `postcss` A tool for transforming CSS with JavaScript plugins.
122+
119123
- `tailwindcss` A utility-first CSS framework.
124+
120125
- `vite` A frontend build tool.
126+
121127
- `vue` The progressive JavaScript framework.
122128

123129
- **Dependencies:** These are essential packages required for the project to function, including:
124130
- `@vee-validate/i18n` Internationalization for VeeValidate.
131+
125132
- `@vee-validate/rules` Validation rules for VeeValidate.
133+
126134
- `mitt` A tiny event emitter.
135+
127136
- `vee-validate` Form validation for Vue.js.
137+
128138
- `vue-flatpickr` A Vue component for Flatpickr date picker.
129139

130140
### Set Up vite.config.js

docs/master/packages/controllers.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ In `packages/Webkul/Blog/src/Http/Controllers/Admin/PostController.php`, define
7979
/**
8080
* Create a controller instance.
8181
*
82-
* @param \Webkul\Blog\Repository\PostRepository $postRepository
8382
* @return void
8483
*/
8584
public function __construct(protected PostRepository $postRepository){}
@@ -151,7 +150,6 @@ In `packages/Webkul/Blog/src/Http/Controllers/Shop/PostController.php`, define t
151150
/**
152151
* Create a controller instance.
153152
*
154-
* @param \Webkul\Blog\Repository\PostRepository $postRepository
155153
* @return void
156154
*/
157155
public function __construct(protected PostRepository $postRepository){}

docs/master/packages/create-system-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ return [
227227
], [
228228
], [
229229
'title' => 'option_2',
230-
'value' => 'vallue_2',
230+
'value' => 'value_2',
231231
],
232232
],
233233
],

docs/master/packages/datagrid.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,12 @@ In **`Webkul\DataGrid\DataGrid\DataGrid.php`** abstract class, two abstract meth
3838
public function prepareQueryBuilder()
3939
{
4040
$queryBuilder = DB::table('posts')
41-
->select('id', 'title', 'status', 'created_at', 'updated_at');
41+
->select('id',
42+
'title',
43+
'status',
44+
'created_at',
45+
'updated_at'
46+
);
4247

4348
return $queryBuilder;
4449
}
@@ -263,7 +268,12 @@ class PostDataGrid extends DataGrid
263268
public function prepareQueryBuilder()
264269
{
265270
$queryBuilder = DB::table('posts')
266-
->select('id', 'title', 'status', 'created_at', 'updated_at');
271+
->select('id',
272+
'title',
273+
'status',
274+
'created_at',
275+
'updated_at'
276+
);
267277

268278
return $queryBuilder;
269279
}
@@ -305,10 +315,10 @@ class PostDataGrid extends DataGrid
305315
'filterable' => true,
306316
'closure' => function ($value) {
307317
if ($value->status) {
308-
return '<p class="label-active">' . trans('blog::app.admin.datagrid.active') . '</p>';
318+
return '<p class="label-active">'.trans('blog::app.admin.datagrid.active').'</p>';
309319
}
310320

311-
return '<p class="label-info">' . trans('blog::app.admin.datagrid.inactive') . '</p>';
321+
return '<p class="label-info">'.trans('blog::app.admin.datagrid.inactive').'</p>';
312322
},
313323
]);
314324

@@ -343,7 +353,7 @@ class PostDataGrid extends DataGrid
343353
'title' => trans('blog::app.admin.datagrid.edit'),
344354
'method' => 'GET',
345355
'url' => function ($row) {
346-
return route('aadmin.blog.edit', $row->id);
356+
return route('admin.blog.edit', $row->id);
347357
},
348358
]);
349359

docs/master/packages/store-data-through-repositories.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ Copy the following code into your newly created repository file.
6969
{
7070
/**
7171
* Specify the Model class name
72-
*
73-
* @return string
7472
*/
7573
function model(): string
7674
{

0 commit comments

Comments
 (0)