Commit graph

256 commits

Author SHA1 Message Date
P-Godfroid
2349221255
fix(translation): search placeholders (#27812)
* Translatable placeholder

* Translatable Search word.html

* " instead of ' for commiter tool.js

* Cleaner way to translate.js

* So the issue was prettier.js

* Style : prettier.js

* style(translation): line break removed from string
2024-09-24 10:57:40 +05:30
Shariq Ansari
2973739f2e fix: show Apps if multiple app or show CRM if only CRM is installed in dropdown 2024-08-30 15:42:58 +05:30
Shariq Ansari
5a668acb03 fix: do not show Apps option for website user in /me page 2024-08-08 18:29:16 +05:30
Maharshi Patel
259695a1c7 fix: web styles espresso
- added Inter & Inter V on website and font-stack
- added flex to logged-in to center avatar
- decreased brand logo height to 22px
- added primary border-bottom to active navbar link
- added underline to links for blog content
  and added to from-markdown for web pages
2023-10-26 12:50:56 +05:30
Sagar Vora
d2becc7f1d fix: no API call required to set cookie in browser 2023-07-22 17:54:41 +05:30
Ankush Menat
b5409f6f07 chore: remove eslint-disable* 2023-07-14 15:41:20 +05:30
Ankush Menat
58cf770760 fix: All ESLint errors 2023-07-14 15:25:48 +05:30
Ankush Menat
be8d2b9de0 perf: lazy websocket connection on website
Establishing 1 connection for every website visit is too much.

Only after calling frappe.realtime.on(...) for ANY event, we will
establish a websocket connection.

This is used for handful of things:
- Discussion component
- File upload

Socketio was initially added here: https://github.com/frappe/frappe/pull/6866 this use case no longer exists.

Rarely anywhere website uses realtime.
2023-07-01 12:43:53 +05:30
Suraj Shetty
eb560fd8b4 fix: Pass URL for login cmd
Fixes this problematic commit
f0eef73cf7
2023-05-15 10:35:03 +05:30
Suraj Shetty
f0eef73cf7 fix: Request on "/login" instead of "/"
Just a semantic fix, helps in identifying the request in network tab and easier add proxy while working with custom app
2023-05-14 22:20:36 +05:30
phot0n
0e4909b28b refactor: remove frappe.send_message js util 2023-04-04 12:32:03 +05:30
Shariq Ansari
0736f8a01b fix: load all boot data on website 2022-10-07 23:28:36 +05:30
Shariq Ansari
799cc62515 fix: get assets_json from boot 2022-10-05 16:34:02 +05:30
Shariq Ansari
2b549619a8 fix: handle loading of bundle css & js in website 2022-10-03 13:54:48 +05:30
Ankush Menat
5d4e1e66b8 refactor!: drop lazy loading utility
Browsers now natively support this with `lazy` attribute.
2022-08-09 18:15:14 +05:30
Ankush Menat
ce164d59e3 fix: limit allowed attributes for lazy images
Co-Authored-by: Sagar Vora <sagar@resilient.tech>
2022-08-09 17:59:45 +05:30
Ankush Menat
40f27f908a style: format JS files with prettier 2022-08-04 14:51:01 +05:30
Rushabh Mehta
e034072bac fix(minor): linting in website.js 2022-03-24 09:21:34 +05:30
Rushabh Mehta
eddca47216 fix(minor): video styles 2022-03-24 09:21:34 +05:30
Rushabh Mehta
b66011de5a feat(website): added new templates to page builder and refactored typography to be more consistent 2022-03-24 09:21:34 +05:30
mergify[bot]
ba094e76d1
fix: Add xcall to Frappe's web bundle (backport #15146) (#15152)
Co-authored-by: Omar Younis <oimyounis@gmail.com>
2021-12-02 10:58:36 +05:30
codescientist703
e8c25cf0f3 fix: added socketio initialization 2021-11-09 15:09:12 +05:30
codescientist703
6232bfbd39 fix: remove unused assets 2021-11-09 14:33:28 +05:30
codescientist703
ed13182573 chore: Remove Chat Module 2021-11-09 13:44:57 +05:30
Suraj Shetty
31d5d81e31
revert: "chore: Remove chat module" (#14922) 2021-11-09 10:30:00 +05:30
codescientist703
f1893b1c7b chore: remove chat module references and settings 2021-10-11 15:29:31 +05:30
Faris Ansari
add84065ad Merge remote-tracking branch 'upstream/develop' into esbuild 2021-05-07 12:55:04 +05:30
Sagar Vora
d6a3621650 fix: remove scrollable behavior 2021-05-03 12:19:30 +05:30
Faris Ansari
e72bb135e1 fix: Asset URLs
Helpers to get asset path
Python: frappe.utils.jinja_globals.bundled_asset
JS: frappe.assets.bundled_asset
2021-04-29 14:47:52 +05:30
Faris Ansari
34c6d099b1 fix: Update all /assets urls with new urls 2021-04-24 16:24:08 +05:30
Faris Ansari
c119f9ab3c fix: libs.bundle.js
- Separate file to import jquery and bootstrap
- Remove separate jquery bundle from app as well as web
- Load jquery from node_modules
2021-04-24 14:42:43 +05:30
Faris Ansari
226ad1d91a feat: New Build System based on esbuild
- Deprecate use of build.json
- *.bundle.js files placed anywhere in the public folder are bundled
- Built files are created in public/build folder which is gitignored

WIP
2021-04-22 07:01:36 +05:30
Rushabh Mehta
27ed3dd373 fix(minor): linting 2021-04-15 14:31:42 +05:30
Rushabh Mehta
6d20983eb2 fix(minor): Make language select optional and fix breakpoint issues in website 2021-04-15 14:15:40 +05:30
Faris Ansari
3c33393084 fix: Search icon in search bar 2021-03-26 14:42:54 +05:30
prssanna
e54a1262b4 Merge branch 'rebrand-ui' of https://github.com/frappe/frappe into rebrand-ui 2021-01-20 17:57:46 +05:30
prssanna
f363863b8c fix: website fixes
-move modal and icon styles to common

primary navbar theme
2021-01-20 17:56:05 +05:30
Suraj Shetty
b94d5778a8 Merge branch 'develop' of https://github.com/frappe/frappe into rebrand-ui 2021-01-19 10:36:50 +05:30
Rushabh Mehta
c93368b242 fix(minor): merge develop 2021-01-08 14:35:55 +05:30
pateljannat
a498751d88 fix: secondary button in dialog for website 2020-12-31 16:42:19 +05:30
Gavin D'souza
bd7ff5277c fix(hljs): Import core instead of highlight
ref: https://unpkg.com/browse/highlight.js@10.4.1/lib/highlight.js
2020-12-16 19:27:02 +05:30
Shivam Mishra
a4f90e48fd feat: update avatar on website navbar 2020-11-19 13:18:25 +05:30
Faris Ansari
aa22287c72 fix(doc-search): Ignore keypress on input elements 2020-09-28 17:26:58 +05:30
Shivam Mishra
1b525f0f86 chore: linting fixes 2020-08-06 19:47:46 +05:30
Shivam Mishra
a18b81e39d chore: linting fixes 2020-08-06 19:47:46 +05:30
Shivam Mishra
7b6463c40e feat: add keyboard navigation to search dropdown 2020-08-06 19:47:46 +05:30
Shivam Mishra
bc8e23ca15 fix: update shortcut for search 2020-08-06 19:47:46 +05:30
Shivam Mishra
9b06881702 chore: remove log/print statements 2020-08-06 19:47:46 +05:30
Shivam Mishra
b2100279d6 feat: update code for new search 2020-08-06 19:47:46 +05:30
Shivam Mishra
16a2ef78ff style: add missing semicolon 2020-08-06 19:47:46 +05:30