Plugin Directory

Changeset 3240965


Ignore:
Timestamp:
02/15/2025 11:11:31 AM (11 months ago)
Author:
kantbtrue
Message:

Update now! Fixed minor bugs on board public page and plugin upgrader.

Location:
wpnakama/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • wpnakama/trunk/admin/app/build/87.js

    r3240760 r3240965  
    1 "use strict";(self.webpackChunkwpnakama=self.webpackChunkwpnakama||[]).push([[87],{7345:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(1609),r=a(7723),i=a(6427),o=a(758);function n({open:e,handleOpen:t,title:a,text:n}){return(0,s.createElement)(s.Fragment,null,e&&(0,s.createElement)(i.Modal,{title:a,size:"small",shouldCloseOnEsc:!0,shouldCloseOnClickOutside:!0,isDismissible:!0,onRequestClose:t,__experimentalHideHeader:!0,className:"rounded-lg border border-surface p-4 !min-w-72 !max-w-72"},(0,s.createElement)("div",{className:"flex flex-col gap-5 text-center text-sm text-surface-500"},(0,s.createElement)("div",{className:"flex flex-col gap-3"},(0,s.createElement)("h2",{className:"text-base text-black font-medium"},a),(0,s.createElement)("p",null,n,(0,s.createElement)(o.$n,{variant:"link",className:"text-primary-500",onClick:()=>window.location.href="mailto:[email protected]"},"[email protected]"))),(0,s.createElement)("div",{className:"flex gap-2 justify-end"},(0,s.createElement)(o.$n,{variant:"tertiary",onClick:t,className:"flex-grow border border-surface-100"},(0,r.__)("Cancel","wpnakama"))))))}},9087:(e,t,a)=>{a.r(t),a.d(t,{default:()=>_});var s=a(1609),r=a(7723),i=a(6087),o=a(2506),n=a(9785),l=a(9739),c=a(758),d=a(9e3),m=a(6622),p=a(9730);const u=[{id:10,title:"Store & Share Files",description:"Upload files in your board and share them with your team and clients.",is_pro:!0,is_new:!0,version:"0.8.0",link:"https://wpnakama.com/docs/preview-mode-board-styles/"},{id:9,title:"Show To-dos in Posts",description:"See all Todos and Tasks linked to a post in your post edit screen.",is_pro:!0,is_new:!1,version:"0.3.0",link:"https://wpnakama.com/docs/todo-on-post-sidebar/"},{id:8,title:"Change Board URL",description:"Didn't like default URL of your board? Set a custom slug for your boards to make them more rememberable and SEO friendly.",is_pro:!0,is_new:!1,version:"0.7.0",link:"https://wpnakama.com/docs/custom-board-slug/"},{id:7,title:"Clone boards",description:"No need to create a board from scratch. Clone boards to create a new board with the same tasks and todos.",is_pro:!0,is_new:!1,version:"0.5.0",link:"https://wpnakama.com/docs/clone-boards/"},{id:6,title:"Protect Public Boards with Password",description:"Confidently share your board and files with only those who have the password.",is_pro:!0,is_new:!1,version:"0.4.0",link:"https://wpnakama.com/docs/restrict-board-access/"},{id:5,title:"Preview mode for board styles",description:"Preview board styles before applying them to the board.",is_pro:!1,is_new:!1,version:"0.3.10",link:"https://wpnakama.com/docs/preview-mode-board-styles/"},{id:4,title:"Pin boards",description:"Pin your favorite boards to the top of the boards list for quick access.",is_pro:!1,is_new:!1,version:"0.3.7",link:"https://wpnakama.com/docs/pin-boards/"},{id:3,title:"Public Client-Side Boards",description:"Share your boards with clients or the entire world with read-only access.",is_pro:!1,is_new:!1,version:"0.3.0",link:"https://wpnakama.com/docs/client-side/"},{id:2,title:"Deadline",description:"Add a deadline to your tasks and boards.",is_pro:!1,is_new:!1,version:"0.3.0",link:"https://wpnakama.com/docs/deadline/"},{id:1,title:"Task Notes",description:"A new section in the task modal to add notes and comments.",is_pro:!1,is_new:!1,version:"0.3.0",link:"https://wpnakama.com/docs/task-notes/"}],f=[{id:14,version:"0.4.31",date:"14 February 2025",minors:[{type:"fix",description:"Board deadline issue"},{type:"fix",description:"Saving indicator not showing"}]},{id:13,version:"0.4.3",date:"12 February 2025",minors:[{type:"update",description:"Support WordPress 6.7.2"},{type:"update",description:"Support PHP 8.3.11"},{type:"fix",description:"Multisite issue on single board access"},{type:"fix",description:"Board page is not showing"},{type:"fix",description:"When user do not avatar, get a \"Cannot read properties of undefined (reading '48')\" error"}]},{id:12,version:"0.4.2",date:"17 January 2025",minors:[{type:"fix",description:"Minor CSS issues"}]},{id:11,version:"0.4.1",date:"9 January 2025",minors:[{type:"fix",description:"License activation issue"}]},{id:10,version:"0.4.0",date:"2 January 2025",minors:[{type:"new",description:"Paginatin in boards page"},{type:"fix",description:"Kanban issues"},{type:"chore",description:"Update package dependencies"},{type:"update",description:"Support latest WordPress version 6.7.1"}]},{id:9,version:"0.3.10",date:"20 November 2024",minors:[{type:"new",description:"Preview mode for different board styles"}]},{id:8,version:"0.3.9",date:"18 November 2024",minors:[{type:"fix",description:"Fixed fatal error on activation"}]},{id:7,version:"0.3.8",date:"17 November 2024",minors:[{type:"chore",description:"Update package dependencies"},{type:"tweak",description:"Remove unused code"},{type:"update",description:"Updating production"}]},{id:7,version:"0.3.7",date:"November 2024",minors:[{type:"new",description:"Pin board"}]},{id:6,version:"0.3.6",date:"November 2024",minors:[{type:"fix",description:"Tasks on kanban board not showing"}]},{id:5,version:"0.3.5",date:"4 November 2024",minors:[{type:"update",description:"Support latest WordPress version 6.7"},{type:"fix",description:"Tasks on kanban board not showing in some cases"}]},{id:4,version:"0.3.4",date:"31 October 2024",minors:[{type:"tweak",description:"Switching from long to short date view on deadlines"}]},{id:3,version:"0.3.3",date:"31 October 2024",minors:[{type:"fix",description:"Public board not working on plain parmalink"}]},{id:2,version:"0.3.2",date:"18 October 2024",minors:[{type:"tweak",description:"Remove limitations on the number of tasks and to-dos"}]},{id:1,version:"0.3.1",date:"24 April 2024",minors:[{type:"fix",description:"CSS issues on desktop"}]}],w=(0,i.forwardRef)(((e,t)=>(0,s.createElement)("svg",{ref:t,width:e.width||"16",height:e.height||"16",viewBox:"0 0 16 16",fill:e.fill||"none",className:e.className,xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("path",{d:"M8 15.25C12.0041 15.25 15.25 12.0041 15.25 8C15.25 3.99594 12.0041 0.75 8 0.75M8 15.25C3.99594 15.25 0.75 12.0041 0.75 8C0.75 3.99594 3.99594 0.75 8 0.75M8 15.25C9.24264 15.25 11.25 12.5 11.25 8C11.25 3.5 9.24264 0.75 8 0.75M8 15.25C6.75736 15.25 4.75 12.5 4.75 8C4.75 3.5 6.75736 0.75 8 0.75M1 8H15",stroke:e.stroke||"#8A8AA3","stroke-width":e.strokeWidth||"1.5",className:"fill-surface-50","stroke-linecap":"round","stroke-linejoin":"round"})))),h=(0,i.forwardRef)(((e,t)=>(0,s.createElement)("svg",{ref:t,width:e.width||"16",height:e.height||"16",viewBox:"0 0 16 16",fill:e.fill||"none",className:e.className,xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("path",{d:"M8 15.25V2.75M8 15.25L8.82843 14.4216C9.57857 13.6714 10.596 13.25 11.6569 13.25H14.25C14.8023 13.25 15.25 12.8023 15.25 12.25V1.75C15.25 1.19772 14.8023 0.75 14.25 0.75H10C8.89543 0.75 8 1.64543 8 2.75M8 15.25L7.17157 14.4216C6.42143 13.6714 5.40401 13.25 4.34315 13.25H1.75C1.19772 13.25 0.75 12.8023 0.75 12.25V1.75C0.75 1.19772 1.19772 0.75 1.75 0.75H6C7.10457 0.75 8 1.64543 8 2.75",stroke:e.stroke||"#8A8AA3","stroke-width":e.strokeWidth||"1.5",className:"fill-surface-50","stroke-linecap":"round","stroke-linejoin":"round"})))),k=(0,i.forwardRef)(((e,t)=>(0,s.createElement)("svg",{ref:t,width:e.width||"16",height:e.height||"16",viewBox:"0 0 16 16",fill:e.fill||"none",className:e.className,xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("path",{d:"M3 13L5.5 10.5M13 13L10.5 10.5M5.5 5.5L3 3M10.5 5.5L13 3M15.25 8C15.25 12.0041 12.0041 15.25 8 15.25C3.99594 15.25 0.75 12.0041 0.75 8C0.75 3.99594 3.99594 0.75 8 0.75C12.0041 0.75 15.25 3.99594 15.25 8ZM11.25 8C11.25 9.79493 9.79493 11.25 8 11.25C6.20507 11.25 4.75 9.79493 4.75 8C4.75 6.20507 6.20507 4.75 8 4.75C9.79493 4.75 11.25 6.20507 11.25 8Z",stroke:e.stroke||"#8A8AA3","stroke-width":e.strokeWidth||"1.5",className:"fill-surface-50","stroke-linecap":"round","stroke-linejoin":"round"})))),v=(0,i.forwardRef)(((e,t)=>(0,s.createElement)("svg",{ref:t,width:e.width||"16",height:e.height||"16",viewBox:"0 0 16 16",fill:e.fill||"none",className:e.className,xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("path",{d:"M0.75 4L8 0.75L15.25 4M0.75 4L8 7.25L15.25 4M0.75 4V12L8 15.25L15.25 12V4M8 7.5V15",stroke:e.stroke||"#8A8AA3","stroke-width":e.strokeWidth||"1.5",className:"fill-surface-50","stroke-linecap":"round","stroke-linejoin":"round"})))),b=(0,i.forwardRef)(((e,t)=>(0,s.createElement)("svg",{ref:t,width:e.width||"16",height:e.height||"16",viewBox:"0 0 16 16",fill:e.fill||"none",className:e.className,xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("path",{d:"M4.75 0.75H11.25C13.4591 0.75 15.25 2.54086 15.25 4.75V11.25C15.25 13.4591 13.4591 15.25 11.25 15.25H4.75C2.54086 15.25 0.75 13.4591 0.75 11.25V4.75C0.75 2.54086 2.54086 0.75 4.75 0.75Z",stroke:e.stroke||"#8A8AA3","stroke-width":e.strokeWidth||"1.5",className:"fill-surface-50","stroke-linecap":"round","stroke-linejoin":"round"}),(0,s.createElement)("path",{d:"M3.75 11.25C3.75 11.25 5 8.75 8 8.75C11 8.75 12.25 11.25 12.25 11.25",stroke:e.stroke||"#8A8AA3","stroke-width":e.strokeWidth||"1.5",className:"fill-surface-50","stroke-linecap":"round","stroke-linejoin":"round"}),(0,s.createElement)("path",{d:"M6.5 6C6.5 6.27614 6.27614 6.5 6 6.5C5.72386 6.5 5.5 6.27614 5.5 6C5.5 5.72386 5.72386 5.5 6 5.5C6.27614 5.5 6.5 5.72386 6.5 6Z",stroke:e.stroke||"#8A8AA3"}),(0,s.createElement)("path",{d:"M10.5 6C10.5 6.27614 10.2761 6.5 10 6.5C9.72386 6.5 9.5 6.27614 9.5 6C9.5 5.72386 9.72386 5.5 10 5.5C10.2761 5.5 10.5 5.72386 10.5 6Z",stroke:e.stroke||"#8A8AA3"})))),g=(0,i.forwardRef)(((e,t)=>(0,s.createElement)("svg",{ref:t,width:e.width||"18",height:e.height||"16",viewBox:"0 0 18 16",fill:e.fill||"none",className:e.className,xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("path",{d:"M9.00014 0.75L1.75014 4C1.75014 4 1.00014 15.25 9.00014 15.25C17.0001 15.25 16.2501 4 16.2501 4L9.00014 0.75Z",stroke:e.stroke||"#8A8AA3","stroke-width":e.strokeWidth||"1.5",className:"fill-surface-50","stroke-linecap":"round","stroke-linejoin":"round"})))),x=[{title:"Official Website",type:"url",link:"https://wpnakama.com",iconElement:w,description:"Visit our official website for more information about our products and services."},{title:"Documentation",type:"url",link:"https://qdonow.notion.site/WPNakama-Documentions-11df422fe2f84ea19ef42282628d00b6",iconElement:h,description:"Visit documentation for more information about our WP Nakama."},{title:"Support",type:"url",link:"https://wordpress.org/support/plugin/wpnakama/",iconElement:k,description:"WP Nakama support forum for help and support."},{title:"Feature Request",type:"email",link:"mailto:[email protected]",iconElement:v,description:"Send us an email with your feature request for WP Nakama."},{title:"Report Bug",type:"email",link:"mailto:[email protected]",iconElement:b,description:"Send us an email with your bug report for WP Nakama."},{title:"Privacy Policy",type:"url",link:"https://qdonow.com/privacy-policy.html",iconElement:g,description:"Read our privacy policy to know how we handle data."},{title:"Terms of Service",type:"url",link:"https://qdonow.com/terms-and-conditions.html",iconElement:g,description:"Read our terms of service to know how we handle data."}];var E=a(9523),y=a(7143),N=a(7345);function _(){const e=(0,i.useRef)(!1),[t,a]=(0,i.useState)(!1),[w,h]=(0,i.useState)([]),[k,v]=(0,i.useState)([]),[b,g]=(0,i.useState)([]),_=(0,i.useRef)("0.4.31"),C=(0,i.useRef)(null),[S,A]=(0,i.useState)(!1),[P,R]=(0,i.useState)(!1),[M,W]=(0,i.useState)("releases"),L=(0,o.S)(),[q,T]=(0,i.useState)(!1),[U,F]=(0,i.useState)(null),[B,V]=(0,i.useState)({}),[j,z]=(0,i.useState)(!1);(0,i.useEffect)((()=>{var e;wp.apiRequest({path:"/WPNakama/v1/options?option_name=wpnakama_update_indicator"}).then((e=>a(e))),h(u),g(f),v(x),L.tab&&(e=L.tab,W(e))}),[]),(0,i.useEffect)((()=>{wp.apiRequest({path:"/WPNakama/v1/options?option_name=wpnakama_subscriber"}).then((e=>V(e)))}),[]),(0,i.useEffect)((()=>{t.length>0&&(0,p.Qt)("/WPNakama/v1/options","",{wpnakama_update_indicator:!1})}),[t]);const O=(0,i.useContext)(E.t),{userId:H}=(0,y.useSelect)((e=>({userId:e(O).getCurrentUser().id})),[]),{user:D}=(0,y.useSelect)((e=>({user:e(O).getEntityRecord("WPNakama","user",H)})),[H]);w&&!e.current&&(e.current=!0);const{register:Z,handleSubmit:$,formState:{errors:I},reset:J}=(0,n.mN)({defaultValues:{email:""},values:{email:D?.email}});let Q=3*(1+B.times_asked);Q>7&&(Q=7);let G=B.times_asked+1,K=new Date((0,l.R)()).setDate(new Date((0,l.R)()).getDate()+Q);return(0,s.createElement)(s.Fragment,null,e.current?(0,s.createElement)("div",{className:"flex flex-col"},(0,s.createElement)(c.tU,{variant:"contained-bottom",value:M,onValueChange:W,className:"flex flex-col gap-10"},(0,s.createElement)("div",{className:"header-subpage flex gap-3 items-end justify-between"},(0,s.createElement)("div",{className:"flex gap-1 text-surface-300 text-2xl font-semibold"},"v"+_.current,b.length>0&&!S&&(0,s.createElement)(c.$n,{variant:"link",className:"text-primary-500 text-sm",onClick:function(){C.current&&C.current.scrollIntoView({behavior:"smooth"})}},(0,r.__)("minor updates","wpnakama"))),(0,s.createElement)("div",{className:"w-fit"},(0,s.createElement)(c.tU.List,{className:"bg-white"},(0,s.createElement)(c.tU.Trigger,{before:(0,s.createElement)(m.bML,null),after:(0,s.createElement)(c.Ex,{stroke:!0,size:"sm",shape:"pill"},w.length),value:"releases",onClick:()=>A(!1)},(0,r.__)("Releases","wpnakama")),(0,s.createElement)(c.tU.Trigger,{before:(0,s.createElement)(m.Qqg,null),value:"helpCenter",onClick:()=>A(!0)},(0,r.__)("Help Center","wpnakama"))))),(0,s.createElement)("div",null,(0,s.createElement)(c.tU.Content,{value:"releases",className:"flex flex-col gap-10"},0!==w.length&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{className:"flex justify-between items-center"},(0,s.createElement)("h2",{className:"text-suface-600 text-lg font-medium"},(0,r.__)("Latest features released","wpnakama")),(0,s.createElement)("div",{className:"flex gap-2"},(0,s.createElement)(c.$n,{variant:"outline",before:(0,s.createElement)(m.FnH,null),size:"sm",className:"bg-white hover:bg-surface-50",onClick:()=>R(!0)},(0,r.__)("Request Feature","wpnakama")),(0,s.createElement)(c.$n,{variant:"transparent",size:"sm",destructive:!0,className:"text-wg-red-500 border border-transparent hover:border-wg-red-500",onClick:()=>R(!0)},(0,r.__)("Report bug","wpnakama")))),(0,s.createElement)("div",{className:"grid grid-cols-3 gap-14 grid-flow-dense"},B.hasOwnProperty("status")?(0,s.createElement)(s.Fragment,null,"subscribed"!==B.status?(0,s.createElement)("div",{className:"col-start-2 row-start-2 flex flex-col gap-4 w-[15.5rem] px-3 py-3 bg-white border border-surface-200 shadow-sm rounded-xl cursor-pointer"},(0,s.createElement)("div",{className:"flex gap-2 items-center text-sm leading-4 font-semibold text-[#E67613]"},(0,s.createElement)(m.r4D,null),(0,r.__)("Subscribe","wpnakama")),(0,s.createElement)("div",{className:"flex flex-col gap-0"},(0,s.createElement)("h2",{className:"text-base font-semibold"},(0,r.__)("Get Updates & Tutorials","wpnakama")),(0,s.createElement)("p",{className:"text-sm leading-5 text-surface-400"},(0,r.__)("Trusted by 100+ businessess.","wpnakama"))),j&&(0,s.createElement)(c.Fc,{variant:"expanded",color:"success",title:(0,r.__)("Successfully subscribed","wpnakama")},(0,r.__)("Thank you, check your email to confirm your subscription.","wpnakama")),!j&&(0,s.createElement)("div",{className:"flex flex-col gap-3"},(0,s.createElement)("div",{className:"flex-grow"},(0,s.createElement)(c.pd,{required:!0,...Z("email",{required:"Email is required",pattern:{value:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,10}$/,message:"Invalid email address"}}),destructive:I.email,placeholder:"Email",helperText:I.email?I.email.message:void 0,disabled:q})),(0,s.createElement)(c.$n,{variant:"primary",onClick:$((async function({email:e}){if(T(!0),!(await fetch("https://api.convertkit.com/v3/forms/7373895/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({api_key:"FdL8PCVYB-hbz5AZPhkuEA",email:e,tags:["wpnakama"],first_name:D?.first_name})})).ok)return F((0,r.__)("Something went wrong. Please try again.","wpnakama")),void T(!1);F(null),await(0,p.Qt)("/WPNakama/v1/options","",{wpnakama_subscriber:{status:"subscribed",last_asked:K,times_asked:G}})&&(T(!1),z(!0))})),className:"items-center justify-center"},q?(0,s.createElement)(c.Rh,{size:"xxs",type:"line",color:"primary",className:"text-primary-800 mt-1"}):(0,r.__)("Subscribe","wpnakama"))),U&&(0,s.createElement)(c.Fc,{before:(0,s.createElement)(m.STI,null),color:"error"},U)):(0,s.createElement)("div",{className:"bg-white col-start-2 row-start-2 flex flex-col gap-4 w-[15.5rem] px-3 py-3 border border-surface-200 shadow-sm rounded-xl cursor-pointer"},(0,s.createElement)("div",{className:"flex flex-col gap-1"},(0,s.createElement)("h2",{className:"text-base font-semibold"},(0,r.__)("Updates & Tutorials","wpnakama")),(0,s.createElement)("p",{className:"text-sm leading-5 text-surface-400"},(0,r.__)("As you are subscribed, you will receive updates and tutorials from us on ","wpnakama"),(0,s.createElement)(c.$n,{variant:"link",className:"text-primary-500"},D?.email))))):(0,s.createElement)("div",{className:"col-start-2 row-start-2 flex flex-col gap-4 w-[15.5rem] px-3 py-3 bg-white border border-surface-200 shadow-sm rounded-xl animate-pulse h-52"}),w.filter((e=>{const[t,a]=e.version.split("."),[s,r]=_.current.split(".");return t===s})).map((e=>(0,s.createElement)("div",{className:"flex flex-col p-5 gap-4",key:e.id},(0,s.createElement)("div",{className:"flex flex-col gap-1"},(0,s.createElement)("h3",{className:"text-base font-medium"},e.title,e.is_pro?(0,s.createElement)(c.Ex,{size:"sm",shape:"pill",color:"yellow",className:"ml-2",stroke:!0},(0,r.__)("Pro","wpnakama")):null,e.is_new?(0,s.createElement)(c.Ex,{size:"sm",shape:"pill",color:"green",className:"ml-2",stroke:!0},(0,r.__)("New","wpnakama")):null),(0,s.createElement)("p",{className:"text-sm text-surface-500"},e.description))))))),0!==b.length&&(0,s.createElement)("div",{className:"flex flex-col gap-4",id:"minor-updates",ref:C},(0,s.createElement)("h2",{className:"text-suface-600 text-lg font-medium"},(0,r.__)("Updates released","wpnakama")),b.map((e=>(0,s.createElement)("div",{className:"flex flex-col gap-3"},(0,s.createElement)("h4",{className:"flex gap-2 text-base items-center"},(0,s.createElement)("div",{className:"font-medium"},e.version),(0,s.createElement)("div",{className:"text-sm text-surface-400"},e.date)),e.minors.map((e=>(0,s.createElement)("div",{className:"flex gap-2"},(0,s.createElement)(c.Ex,{size:"md",shape:"pill",color:{fix:"red",tweak:"yellow",update:"pink",security:"yellow",new:"blue"}[e.type],stroke:!0},e.type),(0,s.createElement)("p",{className:"text-base text-surface-500"},e.description))))))))),(0,s.createElement)(c.tU.Content,{value:"helpCenter"},(0,s.createElement)("div",{className:"grid grid-cols-4 gap-[25px]"},k.map((e=>(0,s.createElement)("div",{onClick:()=>{"url"===e.type?window.open(e.link,"_blank"):R(!0)},className:"w-full flex flex-col gap-4 px-3 py-3 bg-white hover:bg-surface-50 border border-surface-200 hover:border-surface-150 shadow-sm rounded-xl cursor-pointer text-center"},(0,s.createElement)("div",{className:"flex items-center justify-center p-4"},(0,s.createElement)(e.iconElement,{className:"text-surface-200 size-6",strokeWidth:"0.8"})),(0,s.createElement)("h4",{className:"text-sm font-medium"},e.title),(0,s.createElement)("p",{className:"text-sm text-surface-500"},e.description))))))))):(0,s.createElement)(d.A,null),(0,s.createElement)(N.A,{open:P,handleOpen:function(){R(!1)},title:(0,r.__)("Add Feature or Report Bug","wpnakama"),text:(0,r.__)("Please provide a detailed description of the feature you would like to request or the bug you would like to report at ","wpnakama")}))}}}]);
     1"use strict";(self.webpackChunkwpnakama=self.webpackChunkwpnakama||[]).push([[87],{7345:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(1609),r=a(7723),i=a(6427),o=a(758);function n({open:e,handleOpen:t,title:a,text:n}){return(0,s.createElement)(s.Fragment,null,e&&(0,s.createElement)(i.Modal,{title:a,size:"small",shouldCloseOnEsc:!0,shouldCloseOnClickOutside:!0,isDismissible:!0,onRequestClose:t,__experimentalHideHeader:!0,className:"rounded-lg border border-surface p-4 !min-w-72 !max-w-72"},(0,s.createElement)("div",{className:"flex flex-col gap-5 text-center text-sm text-surface-500"},(0,s.createElement)("div",{className:"flex flex-col gap-3"},(0,s.createElement)("h2",{className:"text-base text-black font-medium"},a),(0,s.createElement)("p",null,n,(0,s.createElement)(o.$n,{variant:"link",className:"text-primary-500",onClick:()=>window.location.href="mailto:[email protected]"},"[email protected]"))),(0,s.createElement)("div",{className:"flex gap-2 justify-end"},(0,s.createElement)(o.$n,{variant:"tertiary",onClick:t,className:"flex-grow border border-surface-100"},(0,r.__)("Cancel","wpnakama"))))))}},9087:(e,t,a)=>{a.r(t),a.d(t,{default:()=>_});var s=a(1609),r=a(7723),i=a(6087),o=a(2506),n=a(9785),l=a(9739),c=a(758),d=a(9e3),m=a(6622),p=a(9730);const u=[{id:10,title:"Store & Share Files",description:"Upload files in your board and share them with your team and clients.",is_pro:!0,is_new:!0,version:"0.8.0",link:"https://wpnakama.com/docs/preview-mode-board-styles/"},{id:9,title:"Show To-dos in Posts",description:"See all Todos and Tasks linked to a post in your post edit screen.",is_pro:!0,is_new:!1,version:"0.3.0",link:"https://wpnakama.com/docs/todo-on-post-sidebar/"},{id:8,title:"Change Board URL",description:"Didn't like default URL of your board? Set a custom slug for your boards to make them more rememberable and SEO friendly.",is_pro:!0,is_new:!1,version:"0.7.0",link:"https://wpnakama.com/docs/custom-board-slug/"},{id:7,title:"Clone boards",description:"No need to create a board from scratch. Clone boards to create a new board with the same tasks and todos.",is_pro:!0,is_new:!1,version:"0.5.0",link:"https://wpnakama.com/docs/clone-boards/"},{id:6,title:"Protect Public Boards with Password",description:"Confidently share your board and files with only those who have the password.",is_pro:!0,is_new:!1,version:"0.4.0",link:"https://wpnakama.com/docs/restrict-board-access/"},{id:5,title:"Preview mode for board styles",description:"Preview board styles before applying them to the board.",is_pro:!1,is_new:!1,version:"0.3.10",link:"https://wpnakama.com/docs/preview-mode-board-styles/"},{id:4,title:"Pin boards",description:"Pin your favorite boards to the top of the boards list for quick access.",is_pro:!1,is_new:!1,version:"0.3.7",link:"https://wpnakama.com/docs/pin-boards/"},{id:3,title:"Public Client-Side Boards",description:"Share your boards with clients or the entire world with read-only access.",is_pro:!1,is_new:!1,version:"0.3.0",link:"https://wpnakama.com/docs/client-side/"},{id:2,title:"Deadline",description:"Add a deadline to your tasks and boards.",is_pro:!1,is_new:!1,version:"0.3.0",link:"https://wpnakama.com/docs/deadline/"},{id:1,title:"Task Notes",description:"A new section in the task modal to add notes and comments.",is_pro:!1,is_new:!1,version:"0.3.0",link:"https://wpnakama.com/docs/task-notes/"}],f=[{id:15,version:"0.4.4",date:"15 February 2025",minors:[{type:"fix",description:"Minor bugs on board public page"},{type:"fix",description:"Minor issues on plugin upgrader"}]},{id:14,version:"0.4.31",date:"14 February 2025",minors:[{type:"fix",description:"Board deadline issue"},{type:"fix",description:"Saving indicator not showing"}]},{id:13,version:"0.4.3",date:"12 February 2025",minors:[{type:"update",description:"Support WordPress 6.7.2"},{type:"update",description:"Support PHP 8.3.11"},{type:"fix",description:"Multisite issue on single board access"},{type:"fix",description:"Board page is not showing"},{type:"fix",description:"When user do not avatar, get a \"Cannot read properties of undefined (reading '48')\" error"}]},{id:12,version:"0.4.2",date:"17 January 2025",minors:[{type:"fix",description:"Minor CSS issues"}]},{id:11,version:"0.4.1",date:"9 January 2025",minors:[{type:"fix",description:"License activation issue"}]},{id:10,version:"0.4.0",date:"2 January 2025",minors:[{type:"new",description:"Paginatin in boards page"},{type:"fix",description:"Kanban issues"},{type:"chore",description:"Update package dependencies"},{type:"update",description:"Support latest WordPress version 6.7.1"}]},{id:9,version:"0.3.10",date:"20 November 2024",minors:[{type:"new",description:"Preview mode for different board styles"}]},{id:8,version:"0.3.9",date:"18 November 2024",minors:[{type:"fix",description:"Fixed fatal error on activation"}]},{id:7,version:"0.3.8",date:"17 November 2024",minors:[{type:"chore",description:"Update package dependencies"},{type:"tweak",description:"Remove unused code"},{type:"update",description:"Updating production"}]},{id:7,version:"0.3.7",date:"November 2024",minors:[{type:"new",description:"Pin board"}]},{id:6,version:"0.3.6",date:"November 2024",minors:[{type:"fix",description:"Tasks on kanban board not showing"}]},{id:5,version:"0.3.5",date:"4 November 2024",minors:[{type:"update",description:"Support latest WordPress version 6.7"},{type:"fix",description:"Tasks on kanban board not showing in some cases"}]},{id:4,version:"0.3.4",date:"31 October 2024",minors:[{type:"tweak",description:"Switching from long to short date view on deadlines"}]},{id:3,version:"0.3.3",date:"31 October 2024",minors:[{type:"fix",description:"Public board not working on plain parmalink"}]},{id:2,version:"0.3.2",date:"18 October 2024",minors:[{type:"tweak",description:"Remove limitations on the number of tasks and to-dos"}]},{id:1,version:"0.3.1",date:"24 April 2024",minors:[{type:"fix",description:"CSS issues on desktop"}]}],w=(0,i.forwardRef)(((e,t)=>(0,s.createElement)("svg",{ref:t,width:e.width||"16",height:e.height||"16",viewBox:"0 0 16 16",fill:e.fill||"none",className:e.className,xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("path",{d:"M8 15.25C12.0041 15.25 15.25 12.0041 15.25 8C15.25 3.99594 12.0041 0.75 8 0.75M8 15.25C3.99594 15.25 0.75 12.0041 0.75 8C0.75 3.99594 3.99594 0.75 8 0.75M8 15.25C9.24264 15.25 11.25 12.5 11.25 8C11.25 3.5 9.24264 0.75 8 0.75M8 15.25C6.75736 15.25 4.75 12.5 4.75 8C4.75 3.5 6.75736 0.75 8 0.75M1 8H15",stroke:e.stroke||"#8A8AA3","stroke-width":e.strokeWidth||"1.5",className:"fill-surface-50","stroke-linecap":"round","stroke-linejoin":"round"})))),h=(0,i.forwardRef)(((e,t)=>(0,s.createElement)("svg",{ref:t,width:e.width||"16",height:e.height||"16",viewBox:"0 0 16 16",fill:e.fill||"none",className:e.className,xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("path",{d:"M8 15.25V2.75M8 15.25L8.82843 14.4216C9.57857 13.6714 10.596 13.25 11.6569 13.25H14.25C14.8023 13.25 15.25 12.8023 15.25 12.25V1.75C15.25 1.19772 14.8023 0.75 14.25 0.75H10C8.89543 0.75 8 1.64543 8 2.75M8 15.25L7.17157 14.4216C6.42143 13.6714 5.40401 13.25 4.34315 13.25H1.75C1.19772 13.25 0.75 12.8023 0.75 12.25V1.75C0.75 1.19772 1.19772 0.75 1.75 0.75H6C7.10457 0.75 8 1.64543 8 2.75",stroke:e.stroke||"#8A8AA3","stroke-width":e.strokeWidth||"1.5",className:"fill-surface-50","stroke-linecap":"round","stroke-linejoin":"round"})))),k=(0,i.forwardRef)(((e,t)=>(0,s.createElement)("svg",{ref:t,width:e.width||"16",height:e.height||"16",viewBox:"0 0 16 16",fill:e.fill||"none",className:e.className,xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("path",{d:"M3 13L5.5 10.5M13 13L10.5 10.5M5.5 5.5L3 3M10.5 5.5L13 3M15.25 8C15.25 12.0041 12.0041 15.25 8 15.25C3.99594 15.25 0.75 12.0041 0.75 8C0.75 3.99594 3.99594 0.75 8 0.75C12.0041 0.75 15.25 3.99594 15.25 8ZM11.25 8C11.25 9.79493 9.79493 11.25 8 11.25C6.20507 11.25 4.75 9.79493 4.75 8C4.75 6.20507 6.20507 4.75 8 4.75C9.79493 4.75 11.25 6.20507 11.25 8Z",stroke:e.stroke||"#8A8AA3","stroke-width":e.strokeWidth||"1.5",className:"fill-surface-50","stroke-linecap":"round","stroke-linejoin":"round"})))),v=(0,i.forwardRef)(((e,t)=>(0,s.createElement)("svg",{ref:t,width:e.width||"16",height:e.height||"16",viewBox:"0 0 16 16",fill:e.fill||"none",className:e.className,xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("path",{d:"M0.75 4L8 0.75L15.25 4M0.75 4L8 7.25L15.25 4M0.75 4V12L8 15.25L15.25 12V4M8 7.5V15",stroke:e.stroke||"#8A8AA3","stroke-width":e.strokeWidth||"1.5",className:"fill-surface-50","stroke-linecap":"round","stroke-linejoin":"round"})))),b=(0,i.forwardRef)(((e,t)=>(0,s.createElement)("svg",{ref:t,width:e.width||"16",height:e.height||"16",viewBox:"0 0 16 16",fill:e.fill||"none",className:e.className,xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("path",{d:"M4.75 0.75H11.25C13.4591 0.75 15.25 2.54086 15.25 4.75V11.25C15.25 13.4591 13.4591 15.25 11.25 15.25H4.75C2.54086 15.25 0.75 13.4591 0.75 11.25V4.75C0.75 2.54086 2.54086 0.75 4.75 0.75Z",stroke:e.stroke||"#8A8AA3","stroke-width":e.strokeWidth||"1.5",className:"fill-surface-50","stroke-linecap":"round","stroke-linejoin":"round"}),(0,s.createElement)("path",{d:"M3.75 11.25C3.75 11.25 5 8.75 8 8.75C11 8.75 12.25 11.25 12.25 11.25",stroke:e.stroke||"#8A8AA3","stroke-width":e.strokeWidth||"1.5",className:"fill-surface-50","stroke-linecap":"round","stroke-linejoin":"round"}),(0,s.createElement)("path",{d:"M6.5 6C6.5 6.27614 6.27614 6.5 6 6.5C5.72386 6.5 5.5 6.27614 5.5 6C5.5 5.72386 5.72386 5.5 6 5.5C6.27614 5.5 6.5 5.72386 6.5 6Z",stroke:e.stroke||"#8A8AA3"}),(0,s.createElement)("path",{d:"M10.5 6C10.5 6.27614 10.2761 6.5 10 6.5C9.72386 6.5 9.5 6.27614 9.5 6C9.5 5.72386 9.72386 5.5 10 5.5C10.2761 5.5 10.5 5.72386 10.5 6Z",stroke:e.stroke||"#8A8AA3"})))),g=(0,i.forwardRef)(((e,t)=>(0,s.createElement)("svg",{ref:t,width:e.width||"18",height:e.height||"16",viewBox:"0 0 18 16",fill:e.fill||"none",className:e.className,xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)("path",{d:"M9.00014 0.75L1.75014 4C1.75014 4 1.00014 15.25 9.00014 15.25C17.0001 15.25 16.2501 4 16.2501 4L9.00014 0.75Z",stroke:e.stroke||"#8A8AA3","stroke-width":e.strokeWidth||"1.5",className:"fill-surface-50","stroke-linecap":"round","stroke-linejoin":"round"})))),x=[{title:"Official Website",type:"url",link:"https://wpnakama.com",iconElement:w,description:"Visit our official website for more information about our products and services."},{title:"Documentation",type:"url",link:"https://qdonow.notion.site/WPNakama-Documentions-11df422fe2f84ea19ef42282628d00b6",iconElement:h,description:"Visit documentation for more information about our WP Nakama."},{title:"Support",type:"url",link:"https://wordpress.org/support/plugin/wpnakama/",iconElement:k,description:"WP Nakama support forum for help and support."},{title:"Feature Request",type:"email",link:"mailto:[email protected]",iconElement:v,description:"Send us an email with your feature request for WP Nakama."},{title:"Report Bug",type:"email",link:"mailto:[email protected]",iconElement:b,description:"Send us an email with your bug report for WP Nakama."},{title:"Privacy Policy",type:"url",link:"https://qdonow.com/privacy-policy.html",iconElement:g,description:"Read our privacy policy to know how we handle data."},{title:"Terms of Service",type:"url",link:"https://qdonow.com/terms-and-conditions.html",iconElement:g,description:"Read our terms of service to know how we handle data."}];var E=a(9523),y=a(7143),N=a(7345);function _(){const e=(0,i.useRef)(!1),[t,a]=(0,i.useState)(!1),[w,h]=(0,i.useState)([]),[k,v]=(0,i.useState)([]),[b,g]=(0,i.useState)([]),_=(0,i.useRef)("0.4.4"),C=(0,i.useRef)(null),[S,A]=(0,i.useState)(!1),[P,M]=(0,i.useState)(!1),[R,W]=(0,i.useState)("releases"),L=(0,o.S)(),[q,T]=(0,i.useState)(!1),[F,U]=(0,i.useState)(null),[B,V]=(0,i.useState)({}),[j,z]=(0,i.useState)(!1);(0,i.useEffect)((()=>{var e;wp.apiRequest({path:"/WPNakama/v1/options?option_name=wpnakama_update_indicator"}).then((e=>a(e))),h(u),g(f),v(x),L.tab&&(e=L.tab,W(e))}),[]),(0,i.useEffect)((()=>{wp.apiRequest({path:"/WPNakama/v1/options?option_name=wpnakama_subscriber"}).then((e=>V(e)))}),[]),(0,i.useEffect)((()=>{t.length>0&&(0,p.Qt)("/WPNakama/v1/options","",{wpnakama_update_indicator:!1})}),[t]);const O=(0,i.useContext)(E.t),{userId:H}=(0,y.useSelect)((e=>({userId:e(O).getCurrentUser().id})),[]),{user:D}=(0,y.useSelect)((e=>({user:e(O).getEntityRecord("WPNakama","user",H)})),[H]);w&&!e.current&&(e.current=!0);const{register:Z,handleSubmit:$,formState:{errors:I},reset:J}=(0,n.mN)({defaultValues:{email:""},values:{email:D?.email}});let Q=3*(1+B.times_asked);Q>7&&(Q=7);let G=B.times_asked+1,K=new Date((0,l.R)()).setDate(new Date((0,l.R)()).getDate()+Q);return(0,s.createElement)(s.Fragment,null,e.current?(0,s.createElement)("div",{className:"flex flex-col"},(0,s.createElement)(c.tU,{variant:"contained-bottom",value:R,onValueChange:W,className:"flex flex-col gap-10"},(0,s.createElement)("div",{className:"header-subpage flex gap-3 items-end justify-between"},(0,s.createElement)("div",{className:"flex gap-1 text-surface-300 text-2xl font-semibold"},"v"+_.current,b.length>0&&!S&&(0,s.createElement)(c.$n,{variant:"link",className:"text-primary-500 text-sm",onClick:function(){C.current&&C.current.scrollIntoView({behavior:"smooth"})}},(0,r.__)("minor updates","wpnakama"))),(0,s.createElement)("div",{className:"w-fit"},(0,s.createElement)(c.tU.List,{className:"bg-white"},(0,s.createElement)(c.tU.Trigger,{before:(0,s.createElement)(m.bML,null),after:(0,s.createElement)(c.Ex,{stroke:!0,size:"sm",shape:"pill"},w.length),value:"releases",onClick:()=>A(!1)},(0,r.__)("Releases","wpnakama")),(0,s.createElement)(c.tU.Trigger,{before:(0,s.createElement)(m.Qqg,null),value:"helpCenter",onClick:()=>A(!0)},(0,r.__)("Help Center","wpnakama"))))),(0,s.createElement)("div",null,(0,s.createElement)(c.tU.Content,{value:"releases",className:"flex flex-col gap-10"},0!==w.length&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)("div",{className:"flex justify-between items-center"},(0,s.createElement)("h2",{className:"text-suface-600 text-lg font-medium"},(0,r.__)("Latest features released","wpnakama")),(0,s.createElement)("div",{className:"flex gap-2"},(0,s.createElement)(c.$n,{variant:"outline",before:(0,s.createElement)(m.FnH,null),size:"sm",className:"bg-white hover:bg-surface-50",onClick:()=>M(!0)},(0,r.__)("Request Feature","wpnakama")),(0,s.createElement)(c.$n,{variant:"transparent",size:"sm",destructive:!0,className:"text-wg-red-500 border border-transparent hover:border-wg-red-500",onClick:()=>M(!0)},(0,r.__)("Report bug","wpnakama")))),(0,s.createElement)("div",{className:"grid grid-cols-3 gap-14 grid-flow-dense"},B.hasOwnProperty("status")?(0,s.createElement)(s.Fragment,null,"subscribed"!==B.status?(0,s.createElement)("div",{className:"col-start-2 row-start-2 flex flex-col gap-4 w-[15.5rem] px-3 py-3 bg-white border border-surface-200 shadow-sm rounded-xl cursor-pointer"},(0,s.createElement)("div",{className:"flex gap-2 items-center text-sm leading-4 font-semibold text-[#E67613]"},(0,s.createElement)(m.r4D,null),(0,r.__)("Subscribe","wpnakama")),(0,s.createElement)("div",{className:"flex flex-col gap-0"},(0,s.createElement)("h2",{className:"text-base font-semibold"},(0,r.__)("Get Updates & Tutorials","wpnakama")),(0,s.createElement)("p",{className:"text-sm leading-5 text-surface-400"},(0,r.__)("Trusted by 100+ businessess.","wpnakama"))),j&&(0,s.createElement)(c.Fc,{variant:"expanded",color:"success",title:(0,r.__)("Successfully subscribed","wpnakama")},(0,r.__)("Thank you, check your email to confirm your subscription.","wpnakama")),!j&&(0,s.createElement)("div",{className:"flex flex-col gap-3"},(0,s.createElement)("div",{className:"flex-grow"},(0,s.createElement)(c.pd,{required:!0,...Z("email",{required:"Email is required",pattern:{value:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,10}$/,message:"Invalid email address"}}),destructive:I.email,placeholder:"Email",helperText:I.email?I.email.message:void 0,disabled:q})),(0,s.createElement)(c.$n,{variant:"primary",onClick:$((async function({email:e}){if(T(!0),!(await fetch("https://api.convertkit.com/v3/forms/7373895/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({api_key:"FdL8PCVYB-hbz5AZPhkuEA",email:e,tags:["wpnakama"],first_name:D?.first_name})})).ok)return U((0,r.__)("Something went wrong. Please try again.","wpnakama")),void T(!1);U(null),await(0,p.Qt)("/WPNakama/v1/options","",{wpnakama_subscriber:{status:"subscribed",last_asked:K,times_asked:G}})&&(T(!1),z(!0))})),className:"items-center justify-center"},q?(0,s.createElement)(c.Rh,{size:"xxs",type:"line",color:"primary",className:"text-primary-800 mt-1"}):(0,r.__)("Subscribe","wpnakama"))),F&&(0,s.createElement)(c.Fc,{before:(0,s.createElement)(m.STI,null),color:"error"},F)):(0,s.createElement)("div",{className:"bg-white col-start-2 row-start-2 flex flex-col gap-4 w-[15.5rem] px-3 py-3 border border-surface-200 shadow-sm rounded-xl cursor-pointer"},(0,s.createElement)("div",{className:"flex flex-col gap-1"},(0,s.createElement)("h2",{className:"text-base font-semibold"},(0,r.__)("Updates & Tutorials","wpnakama")),(0,s.createElement)("p",{className:"text-sm leading-5 text-surface-400"},(0,r.__)("As you are subscribed, you will receive updates and tutorials from us on ","wpnakama"),(0,s.createElement)(c.$n,{variant:"link",className:"text-primary-500"},D?.email))))):(0,s.createElement)("div",{className:"col-start-2 row-start-2 flex flex-col gap-4 w-[15.5rem] px-3 py-3 bg-white border border-surface-200 shadow-sm rounded-xl animate-pulse h-52"}),w.filter((e=>{const[t,a]=e.version.split("."),[s,r]=_.current.split(".");return t===s})).map((e=>(0,s.createElement)("div",{className:"flex flex-col p-5 gap-4",key:e.id},(0,s.createElement)("div",{className:"flex flex-col gap-1"},(0,s.createElement)("h3",{className:"text-base font-medium"},e.title,e.is_pro?(0,s.createElement)(c.Ex,{size:"sm",shape:"pill",color:"yellow",className:"ml-2",stroke:!0},(0,r.__)("Pro","wpnakama")):null,e.is_new?(0,s.createElement)(c.Ex,{size:"sm",shape:"pill",color:"green",className:"ml-2",stroke:!0},(0,r.__)("New","wpnakama")):null),(0,s.createElement)("p",{className:"text-sm text-surface-500"},e.description))))))),0!==b.length&&(0,s.createElement)("div",{className:"flex flex-col gap-4",id:"minor-updates",ref:C},(0,s.createElement)("h2",{className:"text-suface-600 text-lg font-medium"},(0,r.__)("Updates released","wpnakama")),b.map((e=>(0,s.createElement)("div",{className:"flex flex-col gap-3"},(0,s.createElement)("h4",{className:"flex gap-2 text-base items-center"},(0,s.createElement)("div",{className:"font-medium"},e.version),(0,s.createElement)("div",{className:"text-sm text-surface-400"},e.date)),e.minors.map((e=>(0,s.createElement)("div",{className:"flex gap-2"},(0,s.createElement)(c.Ex,{size:"md",shape:"pill",color:{fix:"red",tweak:"yellow",update:"pink",security:"yellow",new:"blue"}[e.type],stroke:!0},e.type),(0,s.createElement)("p",{className:"text-base text-surface-500"},e.description))))))))),(0,s.createElement)(c.tU.Content,{value:"helpCenter"},(0,s.createElement)("div",{className:"grid grid-cols-4 gap-[25px]"},k.map((e=>(0,s.createElement)("div",{onClick:()=>{"url"===e.type?window.open(e.link,"_blank"):M(!0)},className:"w-full flex flex-col gap-4 px-3 py-3 bg-white hover:bg-surface-50 border border-surface-200 hover:border-surface-150 shadow-sm rounded-xl cursor-pointer text-center"},(0,s.createElement)("div",{className:"flex items-center justify-center p-4"},(0,s.createElement)(e.iconElement,{className:"text-surface-200 size-6",strokeWidth:"0.8"})),(0,s.createElement)("h4",{className:"text-sm font-medium"},e.title),(0,s.createElement)("p",{className:"text-sm text-surface-500"},e.description))))))))):(0,s.createElement)(d.A,null),(0,s.createElement)(N.A,{open:P,handleOpen:function(){M(!1)},title:(0,r.__)("Add Feature or Report Bug","wpnakama"),text:(0,r.__)("Please provide a detailed description of the feature you would like to request or the bug you would like to report at ","wpnakama")}))}}}]);
  • wpnakama/trunk/changelog.txt

    r3240760 r3240965  
     1February 2025 - Version 0.4.4
     2    * Fix: Minor bugs on board public page
     3    * Fix: Minor issues on plugin upgrader
    14February 2025 - Version 0.4.31
    25    * Fix: Board deadline not saving
  • wpnakama/trunk/frontend/templates/parts/board.php

    r3218388 r3240965  
    66 * @subpackage  Template/Parts
    77 * @since       0.3.0
    8  * @version     0.1.0
     8 * @version     0.4.4
    99 * @author      kantbtrue, qdonow, designthingy
    1010 * @license     GPL-2.0-or-later
     
    128128                                                    $date_obj    = DateTime::createFromFormat( 'Y-m-d h:i:s', $task_deadline_date );
    129129                                                    $date_errors = DateTime::getLastErrors();
    130 
    131                                                     if ( $date_errors['warning_count'] > 0 ) {
    132                                                         $task_deadline_date = $crr_date;
     130                                                    if ( is_array( $date_errors ) ) {
     131                                                        if ( $date_errors['warning_count'] > 0 ) {
     132                                                            $task_deadline_date = $crr_date;
     133                                                        }
    133134                                                    }
    134135
  • wpnakama/trunk/inc/class-wpnakama-updater.php

    r3240703 r3240965  
    66 * @subpackage  Ingredient
    77 * @since       0.1.0
    8  * @version     0.4.3
     8 * @version     0.4.4
    99 * @author      kantbtrue, qdonow, designthingy, savydv
    1010 * @license     GPL-2.0-or-later
     
    248248                'url'           => '',
    249249                'package'       => '',
    250                 'icons'         => $transient->no_update[ WPNAKAMA_BASENAME ]->icons,
    251                 'banners'       => $transient->no_update[ WPNAKAMA_BASENAME ]->banners,
     250                'icons'         => isset($transient->no_update[ WPNAKAMA_BASENAME ]) ? $transient->no_update[ WPNAKAMA_BASENAME ]->icons : array(),
     251                'banners'       => isset($transient->no_update[ WPNAKAMA_BASENAME ]) ? $transient->no_update[ WPNAKAMA_BASENAME ]->banners : array(),
    252252                'banners_rtl'   => array(),
    253253                'tested'        => '',
  • wpnakama/trunk/readme.txt

    r3240760 r3240965  
    55Requires PHP: 7.4
    66Requires at least: 6.2.0
    7 Stable Tag: 0.4.31
     7Stable Tag: 0.4.4
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    116116== Changelog ==
    117117
     118= 0.4.4 =
     119    * Fix: Minor bugs on board public page
     120    * Fix: Minor issues on plugin upgrader
     121
    118122= 0.4.31 =
    119123    * Fix: Board deadline not saving
     
    211215== Upgrade Notice ==
    212216
     217= 0.4.4 =
     218Update now! Fixed minor bugs on board public page and plugin upgrader.
     219
    213220= 0.4.31 =
    214221Update now! Fixed board deadline not saving and other minor bugs.
  • wpnakama/trunk/wpnakama.php

    r3240760 r3240965  
    1111 * Plugin Name:       WPNakama - Team and client collaboration Starts Here
    1212 * Description:       Do you have Clients, a Team, & deadlines? OR Struggling with Productivity and Transparency? Then WPNakama is just meant for you.
    13  * Version:           0.4.31
     13 * Version:           0.4.4
    1414 * Requires at least: 6.2.0
    1515 * Requires PHP:      7.4
     
    4848define( 'WPNAKAMA_PLUGIN_URL', plugin_dir_url( WPNAKAMA_PLUGIN_FILE ) );
    4949define( 'WPNAKAMA_PLUGIN_PATH', plugin_dir_path( WPNAKAMA_PLUGIN_FILE ) );
    50 define( 'WPNAKAMA_VERSION', '0.4.31' );
     50define( 'WPNAKAMA_VERSION', '0.4.4' );
    5151
    5252/**
Note: See TracChangeset for help on using the changeset viewer.