[jira] [Resolved] (SLING-12012) CMS - Add Recent Drafts List

2023-08-26 Thread Dan Klco (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-12012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Klco resolved SLING-12012.
--
Resolution: Fixed

Fixed in 
https://github.com/apache/sling-org-apache-sling-app-cms/commit/3cf0bd3088bd936321f6cbeeff61fe9bd03012d1

> CMS - Add Recent Drafts List
> 
>
> Key: SLING-12012
> URL: https://issues.apache.org/jira/browse/SLING-12012
> Project: Sling
>  Issue Type: Improvement
>  Components: App CMS
>Affects Versions: App CMS 1.1.6
>Reporter: Dan Klco
>Assignee: Dan Klco
>Priority: Trivial
> Fix For: App CMS 1.1.8
>
>
> It would be helpful to have a list of unpublished or "draft" pages make it 
> quicker and easier to find pages which are not yet published



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (SLING-12012) CMS - Add Recent Drafts List

2023-08-26 Thread Dan Klco (Jira)
Dan Klco created SLING-12012:


 Summary: CMS - Add Recent Drafts List
 Key: SLING-12012
 URL: https://issues.apache.org/jira/browse/SLING-12012
 Project: Sling
  Issue Type: Improvement
  Components: App CMS
Affects Versions: App CMS 1.1.6
Reporter: Dan Klco
 Fix For: App CMS 1.1.8


It would be helpful to have a list of unpublished or "draft" pages make it 
quicker and easier to find pages which are not yet published



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Assigned] (SLING-12012) CMS - Add Recent Drafts List

2023-08-26 Thread Dan Klco (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-12012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Klco reassigned SLING-12012:


Assignee: Dan Klco

> CMS - Add Recent Drafts List
> 
>
> Key: SLING-12012
> URL: https://issues.apache.org/jira/browse/SLING-12012
> Project: Sling
>  Issue Type: Improvement
>  Components: App CMS
>Affects Versions: App CMS 1.1.6
>Reporter: Dan Klco
>Assignee: Dan Klco
>Priority: Trivial
> Fix For: App CMS 1.1.8
>
>
> It would be helpful to have a list of unpublished or "draft" pages make it 
> quicker and easier to find pages which are not yet published



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (SLING-12012) CMS - Add Recent Drafts List

2023-08-26 Thread Dan Klco (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-12012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Klco updated SLING-12012:
-
Priority: Trivial  (was: Major)

> CMS - Add Recent Drafts List
> 
>
> Key: SLING-12012
> URL: https://issues.apache.org/jira/browse/SLING-12012
> Project: Sling
>  Issue Type: Improvement
>  Components: App CMS
>Affects Versions: App CMS 1.1.6
>Reporter: Dan Klco
>Priority: Trivial
> Fix For: App CMS 1.1.8
>
>
> It would be helpful to have a list of unpublished or "draft" pages make it 
> quicker and easier to find pages which are not yet published



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (SLING-12011) CMS - Use LazyBindings

2023-08-26 Thread Dan Klco (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-12011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dan Klco resolved SLING-12011.
--
Resolution: Fixed

Fixed in 
https://github.com/apache/sling-org-apache-sling-app-cms/commit/c07f26ca731893375590de00219cde06fe742478

> CMS - Use LazyBindings
> --
>
> Key: SLING-12011
> URL: https://issues.apache.org/jira/browse/SLING-12011
> Project: Sling
>  Issue Type: Improvement
>  Components: App CMS
>Affects Versions: App CMS 1.1.6
>Reporter: Dan Klco
>Assignee: Dan Klco
>Priority: Minor
> Fix For: App CMS 1.1.8
>
> Attachments: image-2023-08-26-09-40-00-139.png, 
> image-2023-08-26-09-42-52-390.png
>
>
> While analyzing the Recent Requests for Sling CMS I noticed that it spends a 
> significant amount of time in the DefaultScriptBindingsValueProvider because 
> it's binding all of properties, even if they are not used. 
>  !image-2023-08-26-09-40-00-139.png|thumbnail! 
> By using the LazyBindings and and the LazyBindings.Supplier we can avoid 
> binding unneeded properties. For a simple page like the attached one, this 
> reduces the request duration nearly in half. 
>  !image-2023-08-26-09-42-52-390.png|thumbnail! 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (SLING-12011) CMS - Use LazyBindings

2023-08-26 Thread Dan Klco (Jira)
Dan Klco created SLING-12011:


 Summary: CMS - Use LazyBindings
 Key: SLING-12011
 URL: https://issues.apache.org/jira/browse/SLING-12011
 Project: Sling
  Issue Type: Improvement
  Components: App CMS
Affects Versions: App CMS 1.1.6
Reporter: Dan Klco
Assignee: Dan Klco
 Fix For: App CMS 1.1.8
 Attachments: image-2023-08-26-09-40-00-139.png, 
image-2023-08-26-09-42-52-390.png

While analyzing the Recent Requests for Sling CMS I noticed that it spends a 
significant amount of time in the DefaultScriptBindingsValueProvider because 
it's binding all of properties, even if they are not used. 

 !image-2023-08-26-09-40-00-139.png|thumbnail! 

By using the LazyBindings and and the LazyBindings.Supplier we can avoid 
binding unneeded properties. For a simple page like the attached one, this 
reduces the request duration nearly in half. 

 !image-2023-08-26-09-42-52-390.png|thumbnail! 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)