Pranav and GitHub
bf5e4a92dd
chore: Limit the number of articles retrieved by widget ( #11095 )
...
The UI displays only six articles, and this update introduces a per_page
parameter to control the number of articles returned per API call. The
value is capped between 1 and 100, with a default fallback if a lower
number is set.
This change is necessary due to high website traffic, where excessive
payloads are returned without adding value.
**Changes:**
- Add index to status, account_id, portal_id, views.
- Add per_page param in the API.
- Update the code in the frontend to fetch only 6
2025-03-15 14:10:12 -07:00
42f6621afb
feat: Vite + vue 3 💚 ( #10047 )
...
Fixes https://github.com/chatwoot/chatwoot/issues/8436
Fixes https://github.com/chatwoot/chatwoot/issues/9767
Fixes https://github.com/chatwoot/chatwoot/issues/10156
Fixes https://github.com/chatwoot/chatwoot/issues/6031
Fixes https://github.com/chatwoot/chatwoot/issues/5696
Fixes https://github.com/chatwoot/chatwoot/issues/9250
Fixes https://github.com/chatwoot/chatwoot/issues/9762
---------
Co-authored-by: Pranav <pranavrajs@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-10-02 00:36:30 -07:00
d79d9e8b46
fix: Include uncategorized articles in the all article section to allow edit/delete ( #10153 )
...
Fixes https://github.com/chatwoot/chatwoot/issues/9935
Fixes https://github.com/chatwoot/chatwoot/issues/8213
The articles were grouped by category, with locale being a derived
attribute from the category. If a category was deleted, the article
wouldn't appear on the dashboard. However, due to a bug, it would show
up in the uncategorized section on the public portal, leaving agents
unable to edit or update the article.
To address this issue, I've added a locale attribute directly to the
article. This attribute is automatically set from the category or the
portal's default locale if not supplied. The API parameters now use this
attribute to filter articles. As a result, the dashboard will display
articles even if they're not associated with a category, improving the
overall workflow.
**Main updates:**
- Add locale attribute to the Article model. Add db migration to back
fill the data based on the above logic.
- Add a new scope search_by_locale and use it instead of
search_by_category_locale.
- Update the ERB template to include the locale filter.
- Move from `joins` to `left_outer_joins` to include the articles with
no categories.
---------
Co-authored-by: Sojan <sojan@pepalo.com >
2024-09-23 23:39:03 -07:00
Shivam Mishra and GitHub
78f94511ff
feat: add sitemap for help center ( #9280 )
...
* feat: start sitemap
* feat: add base url and last mod to sitemap
* fix: typo
* test: sitemap generation
* test: add draft articles
* fix: escape dots in regex matching
* feat: perpend protocol to the url
* feat: use ChatwootApp.help_center_root
* feat: don't parse the URL
* fix: function declaration
2024-04-26 21:36:39 +05:30
bd97226c95
fix: Locale not correct in root url when accessing help center with custom domain ( #9110 )
...
- Ensuring that SwitchLocale concern handles the case of custom domain for portals and set locale according to that
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-03-19 18:48:59 +05:30
381423b1ae
fix: Removed author section from public help center ( #8767 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-01-25 17:17:16 +05:30
c29a9ad062
feat: Updates branding logo and name in public portal footer ( #8745 )
...
- Use white-label settings for Chatwoot Help Center
Co-authored-by: Sojan <sojan@pepalo.com >
2024-01-19 13:37:24 +04:00
Sivin Varghese and GitHub
15f50635e7
fix: undefined method `available_name' for nil:NilClass ( #8563 )
2023-12-15 09:41:35 +05:30
Sivin Varghese and GitHub
fd1813949a
fix: Undefined method `name' for nil:NilClass ( #8562 )
2023-12-15 09:03:16 +05:30
ad8ba299c9
feat: Author sections in category block and category list ( #8414 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-11-27 15:13:38 +05:30
Sivin Varghese and GitHub
2d1f70eb79
feat: Update public portal colors with new design ( #8230 )
2023-11-23 08:16:52 +05:30
Sivin Varghese and GitHub
cb1e25a487
feat: Change the highlight in article page on scrolling ( #8330 )
2023-11-15 13:51:46 +05:30
1948bef9ac
fix: Fix line break issue with link in portal header ( #8323 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-11-08 20:38:38 -08:00
Sivin Varghese and GitHub
5486f39f7e
feat: Update uncategorized block design ( #8324 )
2023-11-09 08:47:38 +05:30
f018b0013c
feat: Updated the design of the article page ( #8166 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-11-08 18:05:13 -08:00
950f085e80
feat: Updated the design of the category page ( #8165 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-11-08 18:03:16 -08:00
268e26625b
feat: Adds the ability to see the popular articles ( #8152 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-11-08 18:01:07 -08:00
7041d86e4d
feat: Updated home page design ( #8106 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-11-08 17:59:03 -08:00
78398ee800
feat: Updated public portal header design ( #8089 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-11-08 17:56:59 -08:00
3b84b0fc47
feat: Creates 404 page for public portal [CW-2727] ( #8293 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-11-04 04:59:44 +05:30
b71a580573
feat: Adds dark theme support for public portal [CW-2525] ( #7979 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-10-04 11:56:00 +05:30
Sojan Jose and GitHub
e9950afb1a
refactor: Optimise article query in chat widget ( #7919 )
...
- optimise article query in chatwidget
2023-09-14 17:19:42 -07:00
Nithin David Thomas and GitHub
a8009c7b39
fix: Allow Iframes requests on portal controller ( #7858 )
2023-09-06 14:25:03 +05:30
Pranav Raj S and GitHub
a6a0e78bbe
feat: Sort articles based on views ( #7599 )
2023-07-24 20:27:43 -07:00
Pranav Raj S and GitHub
fa7bbdb0b3
feat: Add support for plain design help center layout ( #7598 )
2023-07-25 05:13:52 +05:30
91e2da5e74
fix: Uncategorized article display error - HelpCenter-> Portal -> Uncategorised Article ( #7504 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-07-12 16:34:16 -07:00
amplitudes and GitHub
91d1d44aa9
fix: profile picture distortion ( #7203 )
...
By applying pr-1 on a container div instead of directly on the image (which distorts it), it creates the intended padding effect without any image distortion.
2023-05-29 15:00:14 +05:30
Pranav Raj S and GitHub
a3547c5a1f
feat: Show Table of Contents in the article sidebar ( #7085 )
2023-05-15 18:43:16 -07:00
Pranav Raj S and GitHub
ce3e38df0f
chore: Update the design of the help center portal ( #6775 )
2023-05-08 15:31:38 -07:00
Pranav Raj S and GitHub
683f259771
fix: Fix rendering issues in Help Center ( #7042 )
2023-05-08 12:23:26 -07:00
Sojan Jose and GitHub
022383d942
chore: Upgrade to Rails 7 ( #6719 )
...
fixes : #6736
2023-05-06 10:44:52 +05:30
Tejaswini Chile and GitHub
847d7ea082
feat: Add support to uncategorized articles ( #6912 )
2023-05-02 15:35:26 +05:30
Tejaswini Chile and GitHub
24f8befdf2
Fix: Add articles order in category show page ( #6662 )
2023-03-14 20:00:01 +05:30
Tejaswini Chile and GitHub
8f4d4798c2
feat: Backend changes for article and categories ordering ( #6655 )
2023-03-13 17:39:07 +05:30
Pranav Raj S and GitHub
e5090fcdc7
fix: Show only categories where published articles count > 0 ( #6567 )
2023-03-01 11:02:54 +05:30
Pranav Raj S and GitHub
69a1c4527f
fix: Fix i18n issues with help center ( #6559 )
2023-02-27 17:45:57 -08:00
Fayaz Ahmed and GitHub
4deff9ce77
Break words in phones - iPhones etc ( #6287 )
2023-01-23 11:36:11 +05:30
Shivam Mishra and GitHub
50894fd591
fix: Add padding for an empty state ( #6190 )
2023-01-06 13:44:30 -08:00
1fb1be3ddc
feat: Add search functionality for public portal ( #5683 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-19 17:09:32 -07:00
6bc34db932
fix: Make links more accessible on helpcenter public views ( #5681 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-19 13:07:44 -07:00
Geophilus Durairaj and GitHub
bd445216e9
fix: DEPRECATION WARNING: Rendering actions with '.' in the name is deprecated ( #5560 )
...
fixes the warning: Rendering actions with '.' in the name is deprecated
2022-10-05 17:24:34 -07:00
Pranav Raj S and GitHub
cc4ef14faa
chore: Fix link generation logic in help-center ( #5470 )
2022-09-20 18:23:28 -07:00
Tejaswini Chile and GitHub
c556e9c694
Fix: Redirect to portal with default locale ( #5467 )
...
- Redirect to default locale if URL does not provide the locale param
2022-09-20 10:31:39 -07:00
Nithin David Thomas and GitHub
d28502b917
Bug: Adds support multiline text input on article edit page ( #5465 )
...
* Bug: Scroll issue with article list page
* Adds support multiline text input on article edit page
2022-09-20 22:42:09 +05:30
Pranav Raj S and GitHub
eb8e348ec1
chore: Update design of the help-center articles ( #5459 )
...
- Update designs
- Fixes meta tags
- Update typography
2022-09-19 20:31:38 -07:00
Sojan Jose and GitHub
99de8f4500
chore: Improve Helpcenter custom domains ( #5456 )
...
- Support rendering articles over frontend URL
- Support rendering articles over help center URL
- Support rendering help center home page in the custom domain root
2022-09-19 17:36:01 -07:00
1ea289e8b7
feat: Sets up portal public views with rails ERB and tailwind ( #5309 )
...
* feat: Sets up portal public views with rails ERB and tailwind
* linter fixes
* Remove duplicate style file
* Shows articles and categories
* Specify layout for articles page
* Updates public portal styles
* Fixes blog content styles
* Portal style updates for article page
* Review fixes
* Adds breadcrumbs
* fix: rspec
* fix: public portal spec
* Code climate fixes
* Adds test cases for missing files
* Show only published articles
* Updates help center routes
* Review fixes
* Render markdown content for aticle body
* Update app/views/public/api/v1/portals/articles/index.html.erb
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Sojan <sojan@pepalo.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: tejaswini chile <tejaswini@chatwoot.com >
2022-09-12 23:36:24 +05:30
Tejaswini Chile and GitHub
41df70fb96
chore: Add articles metadata ( #5125 )
2022-07-28 13:59:16 +05:30
Tejaswini Chile and GitHub
fdf449dc87
Feat: Article public apis ( #4955 )
2022-07-08 17:24:38 +05:30
Tejaswini Chile and GitHub
029209a634
feat: Portal and Category public APIs ( #4946 )
2022-07-05 17:15:38 +05:30